Skip to content

Commit

Permalink
Another missing trim
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Apr 19, 2024
1 parent 1e3b8c5 commit c378800
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core_r2yara.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ static int cmd_yara_gen(R2Yara *r2yara, const char* input) {
if (input) {
int len = r_num_math (r2yara->core->num, input + 1);
char *s = r_core_cmd_strf (r2yara->core, "pcY %d", len);
r_str_trim (s);
r_list_append (r2yara->genstrings, s);
} else {
char *s = r_core_cmd_str (r2yara->core, "pcY");
Expand Down

0 comments on commit c378800

Please sign in to comment.