On Tue, Jul 07, 2020 at 12:18:20PM +1000, David Gwynne wrote:
> you might want to put the memset after the check to see if the malloc
> failed...
>
Oh, wow... *goes to stand in the corner of shame*
> On 7 Jul 2020, at 7:57 am, Jesper Wallin wrote:
>
> Hi all,
>
> I received a segmentation fault from dhclient(8) upon boot and decided
> to investigate... My system is running with vm.malloc_conf=CFGJUR and
> figured one of those options was the cause of the crash. I noticed that
> the bu
Hi all,
I received a segmentation fault from dhclient(8) upon boot and decided
to investigate... My system is running with vm.malloc_conf=CFGJUR and
figured one of those options was the cause of the crash. I noticed that
the buffer which holds my config options contained a lot of junk at the
end