about summary refs log tree commit diff
path: root/math/w_j1l.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-06-21 21:29:21 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-08-18 15:22:51 +0200
commit60022fbfba872422993caf6130ad4b92e74bb356 (patch)
tree84e63f2155cc1fb14efedea0898bf20579ee9553 /math/w_j1l.c
parent21ed68033a6732e4478926de06dd091ee7f1d4c1 (diff)
downloadglibc-60022fbfba872422993caf6130ad4b92e74bb356.tar.gz
glibc-60022fbfba872422993caf6130ad4b92e74bb356.tar.xz
glibc-60022fbfba872422993caf6130ad4b92e74bb356.zip
malloc: Avoid premature fallback to mmap [BZ #20284]
Before this change, the while loop in reused_arena which avoids
returning a corrupt arena would never execute its body if the selected
arena were not corrupt.  As a result, result == begin after the loop,
and the function returns NULL, triggering fallback to mmap.

(cherry picked from commit a3b473373ee43a292f5ec68a7fda6b9cfb26a9b0)
Diffstat (limited to 'math/w_j1l.c')
0 files changed, 0 insertions, 0 deletions