]> granicus.if.org Git - musl/commit
malloc: fix an over-allocation bug
authorAlexander Monakov <amonakov@ispras.ru>
Mon, 16 Apr 2018 17:54:35 +0000 (20:54 +0300)
committerRich Felker <dalias@aerifal.cx>
Tue, 17 Apr 2018 23:23:00 +0000 (19:23 -0400)
commitd889cc3463edc92869676c1eec34a8f52d942adb
treefcb4a80211cfb62c732a3957d2d19b205e804a2e
parentb9410061e2ad6fe91bb3910c3adc7d4a315b7ce9
malloc: fix an over-allocation bug

Fix an instance where realloc code would overallocate by OVERHEAD bytes
amount. Manually arrange for reuse of memcpy-free-return exit sequence.
src/malloc/malloc.c