]> git.ipfire.org Git - thirdparty/elfutils.git/commit
readelf: Fix sanity check of DW_FORM_block length in print_cfa_program
authorMark Wielaard <mjw@redhat.com>
Tue, 18 Nov 2014 09:01:48 +0000 (10:01 +0100)
committerMark Wielaard <mjw@redhat.com>
Tue, 18 Nov 2014 09:01:48 +0000 (10:01 +0100)
commitd405f93d40810455a53eef92ade3ad3255f17cdb
treee7433381202dc388911d22d07e0af9bb6530fd16
parent9b5fa6b59461896bb64e339174f8b38562164c2f
readelf: Fix sanity check of DW_FORM_block length in print_cfa_program

We were checking the reg nr, not the length of the block.

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