Question
Can a null be in a C standard library string?
Answer
The null-termination characteristic has historically created security problems related to the length of the string. If the null character is not put to the end of the string for some reason, any following non-related memory area is also processed as a part of the character sequence. This can lead to program crashes or leakage of program internal information to attackers or non-understanding users. This problem can (and should) be prevented by appropriate error checking.
— Source: Wikipedia (www.wikipedia.org)