Skip to content

Commit

Permalink
Check hint APIs nullability for #23490
Browse files Browse the repository at this point in the history
  • Loading branch information
astralia committed Nov 28, 2024
1 parent 14b8b51 commit 68cd308
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libr/anal/hint.c
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ static void hint_merge(RAnalHint *hint, RAnalAddrHintRecord *record) {
}

R_API RAnalHint *r_anal_hint_get(RAnal *a, ut64 addr) {
R_RETURN_VAL_IF_FAIL (a, NULL);
RAnalHint *hint = R_NEW0 (RAnalHint);
if (!hint) {
return NULL;
Expand Down

0 comments on commit 68cd308

Please sign in to comment.