mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-03 19:01:31 +00:00
This commit is contained in:
parent
ee86cb00fc
commit
3a0dd576c0
@ -79,7 +79,7 @@ R_API ut64 r_reg_get_value(RReg *reg, RRegItem *item) {
|
||||
switch (item->size) {
|
||||
case 1: {
|
||||
int offset = item->offset / 8;
|
||||
if (offset + item->size >= regset->arena->size) {
|
||||
if (offset >= regset->arena->size) {
|
||||
break;
|
||||
}
|
||||
return (regset->arena->bytes[offset] &
|
||||
|
Loading…
Reference in New Issue
Block a user