Skip to content

Commit

Permalink
Check flirt APIs nullability for radareorg#23490
Browse files Browse the repository at this point in the history
  • Loading branch information
astralia committed Nov 28, 2024
1 parent 86c43e8 commit d638a06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libr/anal/flirt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1349,6 +1349,7 @@ static RFlirtNode *flirt_parse(RFlirt *f) {

// if buf is a flirt signature, returns signature version, or zero
R_API int r_sign_is_flirt(RBuffer *buf) {
R_RETURN_VAL_IF_FAIL (buf, 0);
int ret = 0;
idasig_v5_t *header = R_NEW0 (idasig_v5_t);
if (!header) {
Expand Down

0 comments on commit d638a06

Please sign in to comment.