malloc(): memory corruption: 0x0000000001cc7120 *** 今天在调试一个程序时发生如题所示的错误,在malloc时报错。 经查是由于前面有内存越界,导致内存结构遭到破坏,才发生这样的错误。