Hacker News new | past | comments | ask | show | jobs | submit login

If the caller is an external actor, yes, their provided length should not be trusted. However, this is not always the case. The caller may be another part of the same program, trusted not to perform malicious actions to the same extent that the rest of the program is trusted.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: