From 33afde92a53a33255f5a6f908f5c60d5fdb2660e Mon Sep 17 00:00:00 2001 From: Nibble Date: Mon, 16 Nov 2009 14:08:47 +0100 Subject: [PATCH] * Fixed bug resolving imports with PE bin --- libr/bin/format/pe/pe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libr/bin/format/pe/pe.c b/libr/bin/format/pe/pe.c index 370d7945aa..68decc8d1b 100644 --- a/libr/bin/format/pe/pe.c +++ b/libr/bin/format/pe/pe.c @@ -398,7 +398,7 @@ int PE_(r_bin_pe_get_imports_count)(PE_(r_bin_pe_obj) *bin) read(bin->fd, name, PE_NAME_LENGTH); if (IS_PRINTABLE(name[0])) off = PE_(r_bin_pe_aux_rva_to_offset)(bin, import_dirp->FirstThunk); - else return 0; + else continue; } j = 0;