10l: Forgot to consider the null byte at the end of the string when alloc'ing