Fix regression in RCore.bin_load

This commit is contained in:
pancake 2015-10-29 18:41:21 +01:00
parent 8aa6086ed3
commit 98762bf220

View File

@ -462,7 +462,7 @@ R_API int r_core_bin_load(RCore *r, const char *filenameuri, ut64 baddr) {
if (cf && binfile && desc)
binfile->fd = desc->fd;
binfile = r_bin_cur (r->bin);
if (r->bin->cur->curplugin && r->bin->cur->curplugin->strfilter) {
if (r->bin->cur && r->bin->cur->curplugin && r->bin->cur->curplugin->strfilter) {
char msg[2];
msg[0] = r->bin->cur->curplugin->strfilter;
msg[1] = 0;