关于“Run-Time Check Failure #2 - Stack around the variable 'xxx' was corrupted”问题

问题如下图示:

这是因为变量data相应的内存区被篡改造成的。

去掉篡改语句“*data32s = 10;”,问题即消失。

posted @ 2018-05-08 17:40  Avin  阅读(11153)  评论(1编辑  收藏  举报