1-off error

Ubuntu 12.10 apparently introduced some buffer initialization checks which were not present in Ubuntu 10.04.
This uncovered the fact that I forgot to initialize the last byte of the array (outside the for loop).