On Wednesday 05 of November 2008, Karl Berry wrote:
>     No place for terminating \0 == segfault.
>
> Thanks, I installed your patch.  I am surprised it was not found before!

btw. %4d makes always "4 characters" wide while previously it was the same 
number of chars as number of digits. Slightly different behaviour  so

       char s[5];
-      sprintf (s, "%d", numbers[0]);
+      snprintf (s, sizeof(s), "%d", numbers[0]);

could be better for second chunk.

>
> Best,
> Karl



-- 
Arkadiusz Miƛkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/



Reply via email to