🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87784

Re: sigsegv from vsprintf in nntpswitch

#87784
From: Etian
Date: Tue, 06 Feb 2018 18:57
21 lines
1599 bytes
On 02/06/2018 11:52 AM, Richard Tobin wrote:
> 
> The most obvious way for that code to get a segmentation fault is if
> client->vhost->Banner is too long.
> 
> -- Richard
> 
Thank you. So I loaded into gdb again with a break before writeclient to 
check the variables it is being called with:
	print client->vhost->Banner

And I got this:
	Cannot access memory at address 0x100

So I think I'm missing defaults in the conf files required in the 
commercial version that weren't required for the free version.

I hope this solves it.


Technical Details
Message-ID: <280c7$5a79fa8a$a6aa31a2$29446@news.sonic-news.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <32b73$5a79e328$a6aa31a2$27781@news.sonic-news.com> <p5cq02$1r9r$2@macpro.inf.ed.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <280c7$5a79fa8a$a6aa31a2$29446@news.sonic-news.com>
Subject: Re: sigsegv from vsprintf in nntpswitch
Date: Tue, 6 Feb 2018 12:57:07 -0600
From: Etian <54698212@sonic-news.com>
References: <32b73$5a79e328$a6aa31a2$27781@news.sonic-news.com> <p5cq02$1r9r$2@macpro.inf.ed.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101
 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <p5cq02$1r9r$2@macpro.inf.ed.ac.uk>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-GB
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@sonic-news.com
Organization: www.sonic-news.com
Lines: 19
NNTP-Posting-Date: Tue, 06 Feb 2018 18:57:14 +0000
X-Trace: 280c75a79fa8a30f940729446
X-Received-Body-CRC: 3524191635