Re: [PATCH conntrack-tools v2 0/3] fix potential memory loss and exit codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 4, 2024 at 7:58 AM Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
>
> BTW, I skipped 2/3, I am not convinced this gives us much.
>

Hi Pablo,

Thank you, I greatly appreciate you accepting patches 1/3 and 3/3. In
regards to 2/3, since we're using max_elems in allocation calls that
take size_t as a parameter,
 such as in realloc(..., v->max_elems * v->size), and cur_elems as an
offset of allocated memory, we should utilize that type. In the event
that you concur,
it would also be necessary to modify the index type on line 83, which
was missed.

Donald





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux