This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libdw: Add missing size check to parse_eh_frame_hdr.


On Sat, 2015-01-03 at 00:31 +0100, Mark Wielaard wrote:
> afl-fuzz showed that when parse_eh_frame_hdr was called from
> getcfi_scn_eh_frame invalid data could be read because of a missing
> size check. That check was there when parse_eh_frame_hdr was called
> from getcfi_gnu_eh_frame. Move the size check into parse_eh_frame. And
> add an extra check to make sure d_buf is not NULL.

I pushed this to master.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]