]> git.ipfire.org Git - thirdparty/elfutils.git/commit
elfcmp: Don't call memcmp with possible NULL d_buf.
authorMark Wielaard <mjw@redhat.com>
Sat, 30 May 2015 21:55:50 +0000 (23:55 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 5 Jun 2015 12:44:59 +0000 (14:44 +0200)
commit0d528f9ceff2b96c521cefd75fc62d7151e3e6b1
treeb25f24d56f890564cc50933b1635e7705c7a253c
parentfc9b79400a7bf1aa399cadf5e0351d757a4e44a6
elfcmp: Don't call memcmp with possible NULL d_buf.

When d_size is zero d_buf might be NULL.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
src/ChangeLog
src/elfcmp.c