commit | d260f442ce693de4351229027b37b3293fcbfd7d | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Thu Sep 24 16:38:45 2015 -0700 |
committer | Jason Evans <jasone@canonware.com> | Thu Sep 24 16:38:45 2015 -0700 |
tree | a9cebdbc2ed9012a116a38a71d7027fa4c1fa2a4 | |
parent | fb64ec29ec05fbcba09898a3c93211966a6fa985 [diff] |
Fix xallocx(..., MALLOCX_ZERO) bugs. Zero all trailing bytes of large allocations when --enable-cache-oblivious configure option is enabled. This regression was introduced by 8a03cf039cd06f9fa6972711195055d865673966 (Implement cache index randomization for large allocations.). Zero trailing bytes of huge allocations when resizing from/to a size class that is not a multiple of the chunk size.