Asan检测内存读越界

  一般读取malloc外的数据,程序不会崩掉,导致隐蔽错误。Asan会检测出读越界,crush掉进程。

原文地址:https://www.cnblogs.com/huangfuyuan/p/15600686.html