mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-12 17:48:33 +00:00
pass the correct length in pe handling. fix build
This commit is contained in:
parent
e52d79e855
commit
5b4a4b7be0
@ -1908,8 +1908,7 @@ int PE_(r_bin_pe_get_debug_data)(struct PE_(r_bin_pe_obj_t) *bin, SDebugInfo *re
|
||||
}
|
||||
dbg_data = (ut8 *) malloc (dbg_data_len + 1);
|
||||
if (dbg_data) {
|
||||
r_buf_read_at (bin->b, dbg_data_poff,
|
||||
dbg_data, img_dbg_dir_entry->SizeOfData);
|
||||
r_buf_read_at (bin->b, dbg_data_poff, dbg_data, dbg_data_len);
|
||||
result = get_debug_info(img_dbg_dir_entry, dbg_data, res);
|
||||
R_FREE(dbg_data);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user