Fix null deref when using anal.a2f ##anal

This commit is contained in:
pancake 2021-09-25 11:43:52 +02:00
parent 5e0eb548da
commit 39f83cf213

View File

@ -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;