diff options
author | DJ Delorie <dj@redhat.com> | 2019-12-03 17:44:36 -0500 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2019-12-05 16:46:37 -0500 |
commit | 16554464bcd9d77b07c6ff419dc54f00e394fa50 (patch) | |
tree | 94e8eee8e11e6b96705ddec99fa0b75ecf33b4c0 /posix/sched_cpufree.c | |
parent | 1f7525d924b608a3e43b10fcfb3d46b8a6e9e4f9 (diff) | |
download | glibc-16554464bcd9d77b07c6ff419dc54f00e394fa50.tar.gz glibc-16554464bcd9d77b07c6ff419dc54f00e394fa50.tar.xz glibc-16554464bcd9d77b07c6ff419dc54f00e394fa50.zip |
Correct range checking in mallopt/mxfast/tcache [BZ #25194]
do_set_tcache_max, do_set_mxfast: Fix two instances of comparing "size_t < 0" Both cases have upper limit, so the "negative value" case is already handled via overflow semantics. do_set_tcache_max, do_set_tcache_count: Fix return value on error. Note: currently not used. mallopt: pass return value of helper functions to user. Behavior should only be actually changed for mxfast, where we restore the old (pre-tunables) behavior. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'posix/sched_cpufree.c')
0 files changed, 0 insertions, 0 deletions