[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] [PATCH] elfxx: store elf image pointer and size af
From: |
Dave Watson |
Subject: |
Re: [Libunwind-devel] [PATCH] elfxx: store elf image pointer and size after mapping image |
Date: |
Thu, 9 Nov 2017 10:42:06 -0800 |
User-agent: |
Mutt/1.6.0 (2016-04-01) |
On 11/08/17 11:34 AM, Hans-Christian Noren Egtvedt wrote:
> If loading debug link is not successful, the initial NULL pointer for
> ei->image will eventually be restored, causing segfault during a later
> call to valid_object.
>
> Move populating the prev_image and prev_size to after elf_map_image() to
> fix this.
Merged, thanks!