Date: Tue, 25 Oct 2005 12:49:56 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/ofw/libofw devicename.c Message-ID: <200510251249.j9PCnusA018665@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2005-10-25 12:49:56 UTC FreeBSD src repository Modified files: sys/boot/ofw/libofw devicename.c Log: In ofw_parsedev() check the return value of malloc() and protect against a NULL pointer dereference when ofw_parsedev() is called with a NULL path argument. Tested on: powerpc (grehan), sparc64 Revision Changes Path 1.16 +5 -1 src/sys/boot/ofw/libofw/devicename.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510251249.j9PCnusA018665>