Actually, it is alright, because the call to "read" is passed the value as maximum length. We can assume this will never happen then.