Fix non-buffer overflow.