ae c0d149ddb3 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
2011-06-21 10:35:20 +00:00
..
2011-05-08 09:46:09 +00:00
2011-03-24 21:31:32 +00:00
2011-01-12 23:31:28 +00:00
2011-03-24 21:31:32 +00:00