Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
Note: This is also wring. snprintf needs the NULL for win32.
http://www.winehq.org/pipermail/wine-devel/2003-November/022493.html
Original comment by sknau...@wesleyan.edu
on 12 Oct 2008 at 4:34
Just to clarify, this is correct:
buffer[1024];
snprintf(buffer, sizeof(buffer), ...);
or
snprintf(buffer, 1024, ...);
buffer[1023] = '\0'
Original comment by sknau...@wesleyan.edu
on 12 Oct 2008 at 4:50
This should mostly if not totally be fixed now.
Original comment by richard...@gmail.com
on 11 Jan 2010 at 3:58
Original issue reported on code.google.com by
sknau...@wesleyan.edu
on 13 Jun 2008 at 3:12