
wk at gnupg
Dec 19, 2009, 4:57 AM
Post #9 of 10
(1723 views)
Permalink
|
On Fri, 18 Dec 2009 16:23:34 +0100, Simon Josefsson wrote: > Interesting! I believe I was able to reproduce the problem, now > reported too: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561599 There is another bug report as weel. Hwoever I can't remember the number. FWIW, here is a little test program: #include <stdio.h> main () { unsigned long foo = 42; char buf[50]; snprintf (buf, sizeof buf, "->%lu<-", 42); if (strcmp (buf, "->42<-")) { fputs ("snprintf is broken\n", stderr); return 1; } else { fputs ("snprintf is okay\n", stderr); } return 0; } Shalom-Salam, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. _______________________________________________ Gcrypt-devel mailing list Gcrypt-devel [at] gnupg http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
|