From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3314315566738884080==" MIME-Version: 1.0 From: Mark Wielaard To: elfutils-devel@lists.fedorahosted.org Subject: Re: [PATCH] readelf: Skip section if name is NULL in print_debug. Date: Tue, 03 Jun 2014 13:54:14 +0200 Message-ID: <1401796454.4030.108.camel@bordewijk.wildebeest.org> In-Reply-To: 1401179296-12115-1-git-send-email-mjw@redhat.com --===============3314315566738884080== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Tue, 2014-05-27 at 10:28 +0200, Mark Wielaard wrote: > Don't crash and burn when a section doesn't have a name (possibly invalid > ELF file string table). Just try the next section instead of calling > strcmp on NULL. = Pushed to master. --===============3314315566738884080==--