Date: Wed, 30 Jan 2013 01:36:05 +0000 (UTC) From: Sean Bruno <sbruno@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r246106 - head/libexec/tftpd Message-ID: <201301300136.r0U1a5OE033731@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sbruno Date: Wed Jan 30 01:36:04 2013 New Revision: 246106 URL: http://svnweb.freebsd.org/changeset/base/246106 Log: Remove extra %s from debug statement that ends up crashing tftpd if debug is set very high (like -d15 in my case). Obtained from: Yahoo! Inc MFC after: 2 weeks Modified: head/libexec/tftpd/tftp-io.c Modified: head/libexec/tftpd/tftp-io.c ============================================================================== --- head/libexec/tftpd/tftp-io.c Wed Jan 30 01:30:06 2013 (r246105) +++ head/libexec/tftpd/tftp-io.c Wed Jan 30 01:36:04 2013 (r246106) @@ -142,7 +142,7 @@ send_error(int peer, int error) char buf[MAXPKTSIZE]; if (debug&DEBUG_PACKETS) - tftp_log(LOG_DEBUG, "Sending ERROR %d: %s", error); + tftp_log(LOG_DEBUG, "Sending ERROR %d", error); DROPPACKET("send_error");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301300136.r0U1a5OE033731>