[Bug 1501] p_read, p_send not intialized

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Aug 13 13:06:38 EST 2008


Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
                 CC|                            |dtucker at zip.com.au

--- Comment #1 from Darren Tucker <dtucker at zip.com.au>  2008-08-13 13:06:34 ---
Uh, it's a static global.  ISO C specifies that it must already be

eg http://www.dkuug.dk/JTC1/SC22/WG14/www/docs/n843.pdf section

"If an object that has static storage duration is not initialized
explicitly, then: 
- if it has pointer type, it is initialized to a null pointer; 
- if it has arithmetic type, it is initialized to (positive or
unsigned) zero; 
- if it is an aggregate, every member is initialized (recursively)
according to these rules;"

OpenSSH is not and has never claimed to be thread safe.

Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.

More information about the openssh-bugs mailing list