a0bf242230be117a3e54a7d1fc3f11e5a83606ec
If a custom small_size2bin table was required due to non-default size class settings, memory allocation prior to initializing chunk parameters would cause a crash due to division by 0. The fix re-orders the various *_boot() function calls. Bootstrapping is simpler now than it was before the base allocator started just using the chunk allocator directly. This allows arena_boot[01]() to be combined. Add error detection for pthread_atfork() and atexit() function calls.
Description
No description provided
Languages
C
87.6%
Perl
5.4%
M4
3.4%
Python
1%
Shell
0.9%
Other
1.7%