strlen("Foo") == 3 but you need 4 bytes to store it.