r/ProgrammerHumor • • Oct 22 '26

instanceof Trend itsBadIfItsOnlyPHP

Post image
4.5k Upvotes

335 comments sorted by

View all comments

Show parent comment

89

u/SelfDistinction Oct 22 '26

Rust development process says every possible UB using safe code that the compiler allows is automatically a CVE, no questions asked, no exceptions.

For example, https://app.opencve.io/cve/CVE-2021-28879

21

u/TRKlausss Oct 22 '26

Fair enough. I also saw cve-rs, which looks like a bunch of segfaults programmed in safe Rust…

8

u/Loading_M_ Oct 22 '26

Technically, it's one compiler bug they exploited to do a couple different things.

17

u/Ecksters Oct 22 '26

Which I think makes sense given the language would otherwise provide a false sense of security around use-after-free and other memory-related bugs that other languages can offload onto "skill issue".