Fixed an off-by-(sizeof(char*) - 1) bug.