order of special checks matters
commitcddda5f9beb3d61f1122df95ccfcf855931775b7
authorWaldemar Brodkorb <wbx@openadk.org>
Sun, 10 Jan 2016 08:08:14 +0000 (10 09:08 +0100)
committerWaldemar Brodkorb <wbx@openadk.org>
Sun, 10 Jan 2016 08:08:14 +0000 (10 09:08 +0100)
tree1adc8fb6638c6ec6b897ec1f9b895258b8f76e1b
parent121ee94aa6af104ed33a83bc573739a6f2c02f54
order of special checks matters

The order of special checks seems critical for some applications.
Xorg 1.18.0 fails to start with XNFreallocarray error.
Took me some time to run with MALLOC_DEBUG=2 to find out.
MALLOC_STANDARD is not affected.
libc/stdlib/malloc/realloc.c