pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/50995: sigsegv in recv()



The following reply was made to PR pkg/50995; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
	pkgsrc-bugs%netbsd.org@localhost, prlw1%cam.ac.uk@localhost
Cc: 
Subject: Re: pkg/50995: sigsegv in recv()
Date: Thu, 31 Mar 2016 11:58:27 -0400

 On Mar 31,  5:00am, dholland-pbugs%netbsd.org@localhost (David Holland) wrote:
 -- Subject: Re: pkg/50995: sigsegv in recv()
 
 | The following reply was made to PR pkg/50995; it has been noted by GNATS.
 | 
 | From: David Holland <dholland-pbugs%netbsd.org@localhost>
 | To: gnats-bugs%NetBSD.org@localhost
 | Cc: 
 | Subject: Re: pkg/50995: sigsegv in recv()
 | Date: Thu, 31 Mar 2016 04:56:35 +0000
 | 
 |  On Wed, Mar 30, 2016 at 04:15:00PM +0000, Patrick Welche wrote:
 |   >  > (gdb) print this
 |   >  > $7 = (BaseSocket * const) 0x7f7f00000001
 |   >  > 
 |   >  > isn't == 0x7f7fffffd320, I don't know...
 |   >  > 
 |   >  > > | #0  BaseSocket::readFromSocket (this=0x7f7f00000001, 
 |   >  > > |     this@entry=0x7f7fffffd320, buff=buff@entry=0x7f7fffffd25e "", 
 |   >  
 |   >  Note that @entry *this is the expected 0x7f7fffffd320, and all that
 |   >  happens of note is a call to select() and the recv() mentioned above.
 |  
 |  Wild speculation: is the number-of-fds argument to select larger than
 |  FD_SETSIZE?
 
 Perhaps!  Add a check in BaseSocket::checkForInput().
 
 christos
 


Home | Main Index | Thread Index | Old Index