]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw: Fix overflow warning on 32bit systems with GCC8 in dwarf_getsrclines.
authorMark Wielaard <mark@klomp.org>
Wed, 30 May 2018 13:51:12 +0000 (15:51 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 31 May 2018 19:42:25 +0000 (21:42 +0200)
commit3a5bbc919873fc8adee7345dd7dec585eb4d2547
tree7c24d7d69c6fe785623947aa8767efd7ac4af0c7
parent84acd2365d4775b93aed5e5970b34db05ea5d547
libdw: Fix overflow warning on 32bit systems with GCC8 in dwarf_getsrclines.

ndirs is read from the debug data and should be size checked before use.

https://sourceware.org/bugzilla/show_bug.cgi?id=23248

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/ChangeLog
libdw/dwarf_getsrclines.c