全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Out-of-bounds access?

Definition 4.6 University Computer Science — Year 1 · 第 4 章 — Pointers and Arrays

An out-of-bounds access reads or writes through a pointer, or an index, that does not designate an element of the array it was derived from. C does not check indices: an out-of-bounds access is undefined behaviour, and in practice it reads or writes whatever lies at the computed address.

在原文中阅读 →