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: DJ Delorie <dj at redhat dot com>
- To: Jonathan Nieder <jrnieder at gmail dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 03 Dec 2019 23:19:50 -0500
- Subject: Re: [patch] Correct range checking in mallopt/mxfast/tcache [BZ #25194]
Jonathan Nieder <jrnieder@gmail.com> writes:
> So the only intended callers are set_tcache_max and set_mxfast (today)
> and __libc_mallopt (in the future)? Makes sense.
Well, mallopt already calls do_set_mxfast, which is where the original
bug came from.
case M_MXFAST:
res = do_set_mxfast (value);
break;