Date: Mon, 23 May 2016 05:19:37 +0000 (UTC) From: Don Lewis <truckman@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r300458 - stable/10/usr.bin/ldd Message-ID: <201605230519.u4N5JblV084673@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: truckman Date: Mon May 23 05:19:37 2016 New Revision: 300458 URL: https://svnweb.freebsd.org/changeset/base/300458 Log: MFC r299952 Increase size of argv[] array to avoid running off the end. Reported by: Coverity CID: 1193819 Modified: stable/10/usr.bin/ldd/ldd.c Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.bin/ldd/ldd.c ============================================================================== --- stable/10/usr.bin/ldd/ldd.c Mon May 23 05:15:06 2016 (r300457) +++ stable/10/usr.bin/ldd/ldd.c Mon May 23 05:19:37 2016 (r300458) @@ -83,7 +83,7 @@ static void usage(void); static int execldd32(char *file, char *fmt1, char *fmt2, int aflag, int vflag) { - char *argv[8]; + char *argv[9]; int i, rval, status; LDD_UNSETENV("TRACE_LOADED_OBJECTS");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605230519.u4N5JblV084673>