Fix CID 1356011

This commit is contained in:
Anton Kochkov 2016-05-24 10:57:17 +03:00
parent caade12229
commit 636a1fea00
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View file

@ -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

View file

@ -1754,6 +1754,7 @@ next_arroba:
char *p = strchr (range, ' ');
if (p == NULL) {
eprintf ("Usage: / ABCD @..0x1000 0x3000\n");
if (tmpeval) free (tmpeval);
return false;
}
*p = '\x00';