|
void *my_realloc ( void *oldBlock, size_t size, const char * fileName, const short lineNumber ) { [...] if ( oldBlock ) { memcpy( newblock, oldBlock, size ); [...] It seems that this memcpy can read past the end of oldBlock, when growing it. -- Roberto