diff --git a/fix_junk_in_partition.patch b/fix_junk_in_partition.patch index 06b6ed9..b526a18 100644 --- a/fix_junk_in_partition.patch +++ b/fix_junk_in_partition.patch @@ -1,8 +1,13 @@ -For testing, you can reproduce partition with, +From: Adam Majer +Date: 2020-11-20 17:31+0000 -# valgrind --malloc-fill=0xba --track-origins=yes /usr/bin/mkisofs -o test.iso -chrp-boot -part -# fdisk -l test +There is some uninitialized memory. For testing, you can reproduce +partition with + mkdir empty + valgrind --malloc-fill=0xba --track-origins=yes \ + mkisofs -o test.iso -chrp-boot -part empty + hexdump -C test.iso Index: cdrtools-3.02/libhfs_iso/internal.h ===================================================================