mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-27 08:12:44 +00:00
Fix CID 1208753
This commit is contained in:
parent
bd297f6788
commit
fc4ba55ff6
@ -641,7 +641,7 @@ R_API int r_bin_dwarf_parse_line_raw2(const RBin *a, const ut8 *obuf,
|
||||
|
||||
R_API int r_bin_dwarf_parse_aranges_raw(const ut8 *obuf, int len, FILE *f)
|
||||
{
|
||||
ut32 length = *(ut32*)obuf;
|
||||
ut32 length;
|
||||
ut16 version;
|
||||
ut32 debug_info_offset;
|
||||
ut8 address_size, segment_size;
|
||||
@ -649,6 +649,8 @@ R_API int r_bin_dwarf_parse_aranges_raw(const ut8 *obuf, int len, FILE *f)
|
||||
|
||||
if (!obuf) return R_FALSE;
|
||||
|
||||
length = *(ut32*)obuf
|
||||
|
||||
if (f) {
|
||||
printf("parse_aranges\n");
|
||||
printf("length 0x%x\n", length);
|
||||
|
Loading…
x
Reference in New Issue
Block a user