Undefined behavior: An object is referred to outside of its lifetime (C99p6.2.4)
Prevent reading past an array.