Re:OpenSSL: Buffer overflow in EVP_EncodeBlock() (CVE-2026-1...
by userbinator on Thursday November 19, 2026 @11:50PM
(#50570319)
The question can be reduce to "who do the length validation".
At the boundary where untrusted input becomes trusted. This is commonly known as the sanitisation/validation layer.
In my case, if i write a public-facing API, i never trust the caller will do the correct thing, thus the caller must provide all the critical parameters, and i must validate all of them.