[Bug 439] Buffer overrun in runit/svlogd.c when scanning config file

bugzilla at busybox.net bugzilla at busybox.net
Fri Jul 3 16:32:30 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=439





--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com>  2009-07-03 16:32:30 UTC ---
You need to use

buf[i] = '\0';

in order to truncate buf exactly where read stopped.

Applied, thanks!


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list