about summary refs log tree commit diff
path: root/math/auto-libm-test-out-cacos
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2019-12-03 17:44:36 -0500
committerDJ Delorie <dj@redhat.com>2019-12-05 16:46:37 -0500
commit16554464bcd9d77b07c6ff419dc54f00e394fa50 (patch)
tree94e8eee8e11e6b96705ddec99fa0b75ecf33b4c0 /math/auto-libm-test-out-cacos
parent1f7525d924b608a3e43b10fcfb3d46b8a6e9e4f9 (diff)
downloadglibc-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 'math/auto-libm-test-out-cacos')
0 files changed, 0 insertions, 0 deletions