mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 15:10:53 +00:00
Add confidence-building promotion
This commit is contained in:
parent
d8784641ee
commit
25d3aa97f9
@ -437,7 +437,7 @@ static bool r_bin_mdmp_init_directory_entry(struct r_bin_mdmp_obj *obj, struct m
|
||||
|
||||
for (i = 0; i < memory_list->number_of_memory_ranges; i++) {
|
||||
memories = (struct minidump_memory_descriptor *)(&(memory_list->memory_ranges));
|
||||
ut64 start_offset = entry->location.rva
|
||||
ut64 start_offset = (ut64)entry->location.rva
|
||||
+ r_offsetof (struct minidump_memory_list, memory_ranges);
|
||||
ut64 needed_space = (i + 1) * sizeof (memories[0]);
|
||||
if (start_offset + needed_space > obj->b->length
|
||||
|
Loading…
Reference in New Issue
Block a user