Sun Studio 12 Update 1:使用 dbx 调试程序

从数组越界中读 (rob) 错误

问题:尝试从数组越界内存中进行读取。

可能的原因:溢出堆块边界的迷失指针。

示例:

char *cp = malloc (10);
char ch = cp[10];