Fixed buffer overflow