Date: Thu, 2 Sep 2010 22:26:49 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/boot/ofw/libofw ofw_copy.c Message-ID: <201009022227.o82MR9jZ061281@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nwhitehorn 2010-09-02 22:26:49 UTC
FreeBSD src repository
Modified files:
sys/boot/ofw/libofw ofw_copy.c
Log:
SVN rev 212165 on 2010-09-02 22:26:49Z by nwhitehorn
In the case of non-sequential mappings, ofw_mapmem() could ask Open
Firmware to map a memory region with negative length, causing crashes
and Undefined Behavior. Add the appropriate check to make the behavior
defined.
Revision Changes Path
1.17 +1 -1 src/sys/boot/ofw/libofw/ofw_copy.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009022227.o82MR9jZ061281>
