I have little doubt about string reading in C.
string reading functions like gets, scanf, read, fscanf , fgets...
which C function can do a secure or safe string reading from any file?
Or
Which C function can be reliable to read a string in a file ?