#include <stdlib.h>
#include < stdio.h >#include < memory.h >
int main()
{
#define BUF_SIZE 25
_asm int 3 ;
char * lpszBuf = ( char * )malloc(BUF_SIZE);
memset(lpszBuf, 0x00 , BUF_SIZE * 2 );
char * lpszTest = ( char * )malloc(BUF_SIZE); // <==== 内存分配失败
free(lpszBuf); // <==== 出错 执行到 int 3; 指令
free(lpszTest);
return 0 ;
}