commit | 0a4b3f2d907794ae5f40298046824911362d9a50 | [log] [tgz] |
---|---|---|
author | Lawrence Tang <lawrence.tang@arm.com> | Thu Jul 21 10:40:10 2022 +0100 |
committer | Lawrence Tang <lawrence.tang@arm.com> | Thu Jul 21 10:40:10 2022 +0100 |
tree | 67cd098feb8cfcca96ea4e804b6f6e554e36f645 | |
parent | e29006a8cb19b1b6a97c2f756f9e3391de5da31c [diff] [blame] |
Fix bugs appearing from fuzzing.
diff --git a/generator/sections/gen-section-pci-bus.c b/generator/sections/gen-section-pci-bus.c index 9afd9ad..cbe5b81 100644 --- a/generator/sections/gen-section-pci-bus.c +++ b/generator/sections/gen-section-pci-bus.c
@@ -14,7 +14,7 @@ size_t generate_section_pci_bus(void** location) { //Create random bytes. - int size = 208; + int size = 72; UINT8* bytes = generate_random_bytes(size); //Set reserved areas to zero.