]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r223364:
authorae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Jun 2011 04:57:53 +0000 (04:57 +0000)
committerae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Jun 2011 04:57:53 +0000 (04:57 +0000)
commit897713d91c4cf0fb21a36be8c5b18d6e884c9600
treed705f9d9fa3dcaecdd71e496bb8a263a828e3f80
parent4d2134237a46b958783f6880fb0645e9f2b2e284
MFC r223364:
  When user specifies the bootcode with size smaller than VTOC_BOOTSIZE,
  gpart_write_partcode_vtoc8 does access out of range of allocated memory.
  Check size of bootcode before writing it.

  Pointed out by: ru

git-svn-id: svn://svn.freebsd.org/base/stable/8@223618 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/geom/class/part/geom_part.c