The man page of 'sscanf' says:
"EOF is also returned if a read error occurs, in which case the error indicator for the stream (see ferror(3)) is set, and errno is set indicate the error"
I am confused that what kind of read error may occur if sscanf is reading from a buffer on stack???