SourceForge.net wrote:
> Bugs item #2665432, was opened at 2009-03-05 16:14
..

> So, a correct cookie is generated by using :
> 
> snprintf((char *)s +(i*2),2+1 ,"%02X", buffer[i]);

Yeah. Note that the last call will write outside s (buffer overflow)
if the size of s is defined to an even number.

Once that is addressed (if neccessary) I want this fix to be applied.

Acked-by: Peter Stuge <pe...@stuge.se>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to