@nixCraft Actually, a 1 byte overflow is undefined behavior, so a segfault may or may not happen.

Typically the compiler adds a few more bytes of unused memory behind an array for alignment purposes and a 1 byte overflow would go unnoticed in that case.