Skip to content

Commit

Permalink
Fix CID 1356011
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Kochkov committed May 24, 2016
1 parent caade12 commit 636a1fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ libr/config.h
libr/include/r_userconf.h
libr/include/r_version.h
libr/include/r_version.h.tmp
shlr/grub/libgrubfs.lib
shlr/java/out
shlr/java/out.exe
shlr/sdb/sdb
Expand Down
1 change: 1 addition & 0 deletions libr/core/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1754,6 +1754,7 @@ static int r_core_cmd_subst_i(RCore *core, char *cmd, char *colon) {
char *p = strchr (range, ' ');
if (p == NULL) {
eprintf ("Usage: / ABCD @..0x1000 0x3000\n");
if (tmpeval) free (tmpeval);
return false;
}
*p = '\x00';
Expand Down

0 comments on commit 636a1fe

Please sign in to comment.