This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] libebl: Fix reading GNU_PROPERTY_STACK_SIZE reading from 32bit notes.
- From: Mark Wielaard <mark at klomp dot org>
- To: elfutils-devel at sourceware dot org
- Cc: mcermak at redhat dot com
- Date: Wed, 05 Dec 2018 13:13:30 +0100
- Subject: Re: [PATCH] libebl: Fix reading GNU_PROPERTY_STACK_SIZE reading from 32bit notes.
- References: <20181202231546.33197-1-mark@klomp.org>
On Mon, 2018-12-03 at 00:15 +0100, Mark Wielaard wrote:
> When reading a GNU_PROPERTY_STACK_SIZE we need to use the proper data
> type. GElf_Addr is 64bit always and when reading a 32bit size part of
> it would not be initialized. Use either Elf32_Addr or Elf64_Addr to
> read and print the data.
>
> Add 32bit and 64bit, little and big endian testcases.
Pushed to master.