C++ Tutorial: The Do's and Don'ts of Accessing One Element Past the End of an Array
A buffer overflow is the result of writing to an element that is outside the boundaries of an array. And yet, certain algorithms need to access the address of one element past the end of an array, albeit with a few important restrictions. Here's the why and how.




