This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

6678平台上,使用calloc动态分配地址空间,部分能够返回可读写的空间,部分返回0x00000000,将cmd中的空间增大,还是分配空间返回0x00000000



在6678平台运行一个程序,程序中有一个for循环,循环32次,循环中有calloc动态分配地址,当程序循环到第17个时,calloc分配的地址就是0x00000000,程序后面再用calloc分配地址是都是0x00000000!请问大神们遇到这种情况吗?