News for hackers. Stuff that matters.
Re:OpenSSL: Buffer overflow in EVP_EncodeBlock() (CVE-2026-1... by wahern on Friday November 20, 2026 @02:33AM (#50571355)
From a brief look, I'd say there were several wrong turns made that led to CVE-2026-123007.

For why I think it's unrealistic to go all-in on signed integers in C, it's because sizeof is unsigned, and most APIs dealing with lengths use size_t, and there are lot of pitfalls when mixing signed and unsigned types.

But I agree that there's a good case for using signed for the task behind that CVE. As I said, there are compelling reasons. But OpenSSL is a case study in the pitfalls with mixing signed and unsigned in C code.

Re:OpenSSL: Buffer overflow in EVP_EncodeBlock() (CVE-2026-1... by uecker on Friday November 20, 2026 @11:49AM (#50577698)
The way to deal with APIs which use size_t and which works for me is to convert at the last moment.