mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-06 13:29:46 +00:00
Fix #2450 ASAN crash in code analysis
This commit is contained in:
parent
876ac121b4
commit
92e5d07579
@ -273,6 +273,9 @@ static int fcn_recurse(RAnal *anal, RAnalFunction *fcn, ut64 addr, ut8 *buf, ut6
|
||||
break;
|
||||
}
|
||||
repeat:
|
||||
if ((len-idx)<5) {
|
||||
break;
|
||||
}
|
||||
r_anal_op_fini (&op);
|
||||
if (buf[idx]==buf[idx+1] && buf[idx]==0xff && buf[idx+2]==0xff) {
|
||||
FITFCNSZ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user