Fixed buffer overflow condition.