Date: Thu, 30 Sep 2010 04:06:16 +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: <201009300406.o8U46dLu064802@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nwhitehorn 2010-09-30 04:06:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/boot/ofw/libofw ofw_copy.c Log: SVN rev 213292 on 2010-09-30 04:06:16Z by nwhitehorn MFC r212165: 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.16.10.2 +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?201009300406.o8U46dLu064802>