Hope you don't mind my nit, then :) On Wed Jun 9, 2021 at 9:51 PM -03, Omar Sandoval wrote: > On Wed, Jun 09, 2021 at 05:45:57PM -0700, Omar Sandoval wrote: > > From: Omar Sandoval <osan...@fb.com> > > > > When read_addrs() was converted was converted from a nested function to ^^^^^^^^^^^^^ repeated words > > a normal function, there was a mistake in converting "buffer" from a > > closure variable to a parameter: we are checking whether the pointer > > argument is NULL, not whether the buffer itself is NULL. This causes a > > NULL pointer dereference when we try to use the NULL buffer later. > > > > Fixes: 3bf41d458fb6 ("link_map: Pull read_addrs() into file scope") made > ^^^^ > Stray word here, hopefully not too much trouble to fix up when applying.
Re: [PATCH] libdwfl: fix crash when reading link map
Érico Nogueira via Elfutils-devel Wed, 09 Jun 2021 18:00:23 -0700
- [PATCH] libdwfl: fix crash when reading... Omar Sandoval
- Re: [PATCH] libdwfl: fix crash whe... Omar Sandoval
- Re: [PATCH] libdwfl: fix crash... Érico Nogueira via Elfutils-devel
- Re: [PATCH] libdwfl: fix c... Omar Sandoval
- Re: [PATCH] libdwfl: fix crash whe... Dmitry V. Levin