Date: Mon, 21 Feb 2011 14:28:31 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/bsdinstall/distextract distextract.c src/usr.sbin/bsdinstall/distfetch distfetch.c Message-ID: <201102211428.p1LESdCG052653@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nwhitehorn 2011-02-21 14:28:31 UTC
FreeBSD src repository
Modified files:
usr.sbin/bsdinstall/distextract distextract.c
usr.sbin/bsdinstall/distfetch distfetch.c
Log:
SVN rev 218915 on 2011-02-21 14:28:31Z by nwhitehorn
Add some error checking on the return values of chdir() and calloc(). The
first might actually happen, so it displays the error message in a prettier
way.
Found by: Coverity Prevent(tm)
CID: 9121, 9122, 9123, 9124
Revision Changes Path
1.2 +23 -11 src/usr.sbin/bsdinstall/distextract/distextract.c
1.2 +26 -6 src/usr.sbin/bsdinstall/distfetch/distfetch.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102211428.p1LESdCG052653>
