Bug fix: Only 128 bytes of an emerging GPT header block were zeroized

This commit is contained in:
Thomas Schmitt 2014-11-04 13:48:31 +01:00
parent 0fc4421e15
commit af23ad0f90
1 changed files with 1 additions and 1 deletions

View File

@ -1409,7 +1409,7 @@ int iso_write_gpt_header_block(Ecma119Image *t, uint32_t img_blocks,
uint32_t crc; uint32_t crc;
off_t back_lba; off_t back_lba;
memset(buf, 0, 128); memset(buf, 0, 512);
wpt = (char *) buf; wpt = (char *) buf;
/* >>> Make signature adjustable */ /* >>> Make signature adjustable */