Fixed potential buffer overflow