Loading...
--- Libc/Libc-763.13/gen/malloc.c
+++ Libc/Libc-763.11/gen/malloc.c
@@ -405,7 +405,7 @@
malloc_debug_flags = SCALABLE_MALLOC_ABORT_ON_CORRUPTION; // Set always on 64-bit processes
#else
int libSystemVersion = NSVersionOfLinkTimeLibrary("System");
- if ((-1 != libSystemVersion) && ((libSystemVersion >> 16) < 126))
+ if ((-1 != libSystemVersion) && ((libSystemVersion >> 16) < 126) /* CFSystemVersionBarolo */)
malloc_debug_flags = 0;
else
malloc_debug_flags = SCALABLE_MALLOC_ABORT_ON_CORRUPTION;
@@ -625,6 +625,7 @@
{
MALLOC_LOCK();
/*
+ * <rdar://problem/8686255>
*
* 2. malloc will no longer take notice of *programmatic* changes to the MALLOC_* environment variables
* (i.e. calls to putenv() or setenv() that manipulate these environment variables.)