mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 15:41:38 +00:00
Fix null deref when using anal.a2f ##anal
This commit is contained in:
parent
5e0eb548da
commit
39f83cf213
@ -490,6 +490,9 @@ typedef struct {
|
||||
|
||||
R_API bool r_anal_block_recurse_depth_first(RAnalBlock *block, RAnalBlockCb cb, R_NULLABLE RAnalBlockCb on_exit, void *user) {
|
||||
bool breaked = false;
|
||||
if (!block) {
|
||||
return false;
|
||||
}
|
||||
HtUP *visited = ht_up_new0 ();
|
||||
if (!visited) {
|
||||
goto beach;
|
||||
|
Loading…
Reference in New Issue
Block a user