RE: [PATCH] makedumpfile: Fix string append in dump_log_entry()

2014-03-07 Thread Atsushi Kumagai
Hello Petr, Hello Kumagai-san, To quote the sprintf(3) man page: Some programs imprudently rely on code such as the following sprintf(buf, %s some further text, buf); to append text to buf. However, the standards explicitly note that the results are undefined if

Re: [PATCH] makedumpfile: Fix string append in dump_log_entry()

2014-03-04 Thread Petr Tesarik
On Fri, 28 Feb 2014 01:01:33 + Atsushi Kumagai kumagai-atsu...@mxc.nes.nec.co.jp wrote: Hello Petr, Hello Kumagai-san, To quote the sprintf(3) man page: Some programs imprudently rely on code such as the following sprintf(buf, %s some further text, buf); to append

RE: [PATCH] makedumpfile: Fix string append in dump_log_entry()

2014-02-27 Thread Atsushi Kumagai
Hello Petr, To quote the sprintf(3) man page: Some programs imprudently rely on code such as the following sprintf(buf, %s some further text, buf); to append text to buf. However, the standards explicitly note that the results are undefined if source and destination

[PATCH] makedumpfile: Fix string append in dump_log_entry()

2014-02-26 Thread Petr Tesarik
To quote the sprintf(3) man page: Some programs imprudently rely on code such as the following sprintf(buf, %s some further text, buf); to append text to buf. However, the standards explicitly note that the results are undefined if source and destination buffers overlap