/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-12 / Minor strings fix to pound

[ << ] [ >> ]

[ Error compiling Pound / Peter Reilly ... ] [ Re: [Pound Mailing List] Minor strings fix to ... ]

Minor strings fix to pound
"Joe Gooch" <mrwizard(at)k12system.com>
2006-12-30 19:11:58 [ FULL ]
I run my pound instances through libsafe (provided by my Mandriva
installs) which will check for buffer overflows and terminate the
process if it detects a string overrun.

Which, it did. (to my surprise)

It's a simple, one character fix in the parse_HTTPS call. (thus only
happens if using SSL listeners)

See attached patch.  I'm not sure if it should be %ld or %li.  %li works
for me, I'm not sure if there are portability concerns. 

Joseph Gooch
Sapphire Suite Product Manager
K12 Systems, Inc.
(866) 366-9540
Attachments:  
pound-2.2-05_sprintf_overrun.patch application/octet-stream 603 Bytes

MailBoxer