This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] libdw: Check register number in CFI isn't insanely large.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 15 Jan 2015 14:20:49 +0100
- Subject: Re: [PATCH] libdw: Check register number in CFI isn't insanely large.
On Sun, 2015-01-04 at 16:29 +0100, Mark Wielaard wrote:
> Some cfi.c array size allocation calculations might overflow when trying
> to accommodate insanely large number of registers. Don't allow register
> numbers larger than INT32_MAX / sizeof (dwarf_frame_register).
I pushed this to master.