id* foo(void* argv){int n[100];n[100] = 10; //这里已越界return 0;}int main(){pthread_t t;pthread_create(&t, NULL, foo, NULL);pthread_join(t, NULL);return 0;}这段C代码编译链接时加入了-lmudflapth -fmudflapth,执行时没有上报数组越界,不知道为啥,有了解的请指教。不甚感激
http://www.zhihu.com/question/41045307