cvs commit: src/sys/boot/ofw/libofw devicename.c
Marius Strobl
marius at FreeBSD.org
Tue Oct 25 05:49:57 PDT 2005
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
More information about the cvs-src
mailing list