mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-02 10:16:21 +00:00
Fix #2832 - oob read in r_mem_copyendian
This commit is contained in:
parent
5ca5f143d1
commit
371501b724
@ -1531,6 +1531,7 @@ ignore:
|
||||
/* XXXX:YYYY */
|
||||
} else {
|
||||
*ptr2 = '\0';
|
||||
if (!ptr2[1]) return -1;
|
||||
r_core_block_size (core, r_num_math (core->num, ptr2+1));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user