Re: [hackers] [quark][PATCH 1/3] fix segfault on parsing of -v and -m

From: Laslo Hunhold <dev_AT_frign.de>
Date: Mon, 2 Apr 2018 09:54:36 +0200

On Mon, 2 Apr 2018 02:54:59 +0200
Josuah Demangeon <mail_AT_josuah.net> wrote:

Dear Josuah,

> The length is initially 0 so it needs to be incremented before
> reallocarray to avoid ...alloc(0); and keep some space for the element
> to insert.

oh yes, great find! Thanks for taking your time to cook a patch! I've
applied it.

With best regards

Laslo Hunhold

-- 
Laslo Hunhold <dev_AT_frign.de>
Received on Mon Apr 02 2018 - 09:54:36 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 02 2018 - 10:00:32 CEST