Date: Thu, 21 Oct 2004 17:02:38 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/xargs strnsubst.c Message-ID: <200410211702.i9LH2cQq057419@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2004-10-21 17:02:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) usr.bin/xargs strnsubst.c Log: Fix a buffer overflow. This is the same bug as is corrected in rev. 1.7, but the correction is different: Rather than making sure the string we're constructing doesn't grow too large, we realloc() to make sure the buffer is large enough. This violates the IEEE Std 1003.1-2004 standard, but retains backwards compatability. Approved by: re (scottl) Revision Changes Path 1.6.8.1 +12 -0 src/usr.bin/xargs/strnsubst.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410211702.i9LH2cQq057419>