[Buildroot] [PATCH] netperf: add Gentoo patch to fix buffer overflow compiler warnings

Peter Korsgaard jacmet at uclibc.org
Mon Dec 27 20:45:56 UTC 2010


>>>>> "heiko" == heiko  <heiko at zuerker.org> writes:

 heiko> From: Heiko Zuerker <smiley73 at users.sourceforge.net>
 heiko> Signed-off-by: Heiko Zuerker <smiley73 at users.sourceforge.net>
 heiko> ---
 heiko>  package/netperf/netperf-2.4.5-netserver.patch |   51 +++++++++++++++++++++++++

So this just fixes a build warning, and otherwise doesn't affect the
resulting binaries?

 heiko> ++++ b/src/netserver.c
 heiko> +@@ -142,7 +142,7 @@
 heiko> + 
 heiko> + #ifndef DEBUG_LOG_FILE
 heiko> + #ifndef WIN32
 heiko> +-#define DEBUG_LOG_FILE "/tmp/netperf.debug"
 heiko> ++#define DEBUG_LOG_FILE "/var/log/netperf.debug"

What's the reason for this change?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list