Skip to content

Commit

Permalink
Filter zignature names before validation ##signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
radare authored and trufae committed Mar 29, 2023
1 parent f5749b7 commit ec23985
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libr/anal/sign.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* radare - LGPL - Copyright 2009-2022 - pancake, nibble */
/* radare - LGPL - Copyright 2009-2023 - pancake, nibble */

#include <r_core.h>

Expand Down Expand Up @@ -628,6 +628,7 @@ static bool validate_item(RSignItem *it) {
}

R_API bool r_sign_add_item(RAnal *a, RSignItem *it) {
r_name_filter (it->name, -1);
if (!validate_item (it)) {
return false;
}
Expand Down

0 comments on commit ec23985

Please sign in to comment.