O'Reilly logo
  • LI WEI thinks this is interesting:

In general, accessing memory that does not belong to your program is going to cause your app to crash, and if it doesn't do so immediately, there will be a hidden bug in your program that only causes problems once in a while. You must always be careful when indexing an array.

From

Cover of Learning C++ by Creating Games with UE4

Note

一般情况,访问一段禁止你程序访问的内存会发生崩溃,如果不是立即崩溃。也会留下隐患,随时让你的系统崩掉