Browse Source

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

release-1.5.4.branch
Thomas Schmitt 7 years ago
parent
commit
af23ad0f90
  1. 2
      libisofs/system_area.c

2
libisofs/system_area.c

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

Loading…
Cancel
Save