Date: Tue, 21 Jun 2011 10:35:20 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/geom/class/part geom_part.c Message-ID: <201106211035.p5LAZcog050666@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ae 2011-06-21 10:35:20 UTC
FreeBSD src repository
Modified files:
sbin/geom/class/part geom_part.c
Log:
SVN rev 223364 on 2011-06-21 10:35:20Z by ae
When user specifies the bootcode with size smaller than VTOC_BOOTCODE,
gpart_write_partcode_vtoc8 does access out of range of allocated memory.
Check size of bootcode before writing it.
Pointed out by: ru
MFC after: 1 week
Revision Changes Path
1.57 +4 -1 src/sbin/geom/class/part/geom_part.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106211035.p5LAZcog050666>
