From: Christos Zoulas Date: Mon, 31 Oct 2005 13:53:40 +0000 (+0000) Subject: Don't return if we did not finish parsing the core info. From Radek Vokal. X-Git-Tag: FILE4_17~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3a2583db0b9329ca01c2b1927fc5a6b6c0e08cc;p=file Don't return if we did not finish parsing the core info. From Radek Vokal. --- diff --git a/src/readelf.c b/src/readelf.c index 8a61f0cd..bc2949ec 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -37,7 +37,7 @@ #include "readelf.h" #ifndef lint -FILE_RCSID("@(#)$Id: readelf.c,v 1.52 2005/10/17 18:41:44 christos Exp $") +FILE_RCSID("@(#)$Id: readelf.c,v 1.53 2005/10/31 13:53:40 christos Exp $") #endif #ifdef ELFCORE @@ -549,8 +549,7 @@ donote(struct magic_set *ms, unsigned char *nbuf, size_t offset, size_t size, os_style_names[os_style]) == -1) return size; *flags |= FLAGS_DID_CORE; - } else - return size; + } } switch (os_style) {