This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] Correct range checking in mallopt/mxfast/tcache [BZ #25194]
- From: Carlos O'Donell <codonell at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 4 Dec 2019 09:25:05 -0500
- Subject: Re: [patch] Correct range checking in mallopt/mxfast/tcache [BZ #25194]
- References: <xnr21kve8a.fsf@greed.delorie.com>
On 12/4/19 12:42 AM, DJ Delorie wrote:
> "Carlos O'Donell" <codonell@redhat.com> writes:
>> * Documentation in a comment that this is safe with an example.
>
> Also, "overflow" is the only way to pass real values larger than
> size_t/2, which would get cast to negative int, then back to positive
> size_t.
>
I look forward to reviewing v2 :-)
--
Cheers,
Carlos.