This malloc overrides the one provided by GLIBC and calls mallocNan which initializes the allocated block of memory to NaN if enabled by the FOAM_SETNAN environment variable.