I thought when you allocate a string in C it's filled with \0. I don't know why I thought that. Makes no sense when you think about it.
@matrix use calloc() next time you need to allocate memory for a string, neat trick
@kline Memory allocation is forbidden ![]()