News for hackers. Stuff that matters.
Re:OpenSSL Security Advisory (14 December 2021) by staticassertion on Tuesday December 14, 2021 @01:35PM (#29555376)
C return code error handling strikes again.
Re:OpenSSL Security Advisory (14 December 2021) by 0xbadcafebee on Tuesday December 14, 2021 @02:22PM (#29556113)
You mean crappy programmers strike again? This bug would not happen by properly using structs, typedefs, enums, etc to qualify data types and explicitly declare (in a human-readable way anyway) what values to return when. Just using integers as return values with no intermediate abstraction is crazy.
Re:OpenSSL Security Advisory (14 December 2021) by ketralnis on Tuesday December 14, 2021 @02:46PM (#29556493)
Since we aren't all as smart as you, there's genuine value in languages & principles that guide us dummies to naturally avoid these kinds of issues as part of the happy path
Re:OpenSSL Security Advisory (14 December 2021) by tadbit on Tuesday December 14, 2021 @06:00PM (#29559325)
Given the poor track record of the OpenSSL project, the grand parent's complaint for crappy programming isn't unfounded.
Re:OpenSSL Security Advisory (14 December 2021) by 0xbadcafebee on Wednesday December 15, 2021 @02:48PM (#29570721)
I'm not that smart. I don't have a high IQ or anything. I'm not even a professional software engineer. But if I need to use a tool, I learn the right way to use it. I don't expect it to be easy to use.

The biggest lie in software is that new software is better than old software. Anyone who's used software for long enough knows this is ridiculous. You introduce some new software which has some new features indented to fix an old flaw. But then it turns out there's new flaws in the new software that become more of an issue than the old flaws.

Most tools in the world don't change significantly over time. Instead of changing the tool, people learn how to use the tool to avoid problems. But that doesn't work in a world where nobody learns how to use the tool right, or is constantly picking up new tools and never learning lessons.

Re:OpenSSL Security Advisory (14 December 2021) by dylan604 on Wednesday December 15, 2021 @01:21AM (#29562721)
Isn't the compiler supposed to protect us? /s
Re:OpenSSL Security Advisory (14 December 2021) by staticassertion on Tuesday December 14, 2021 @06:18PM (#29559517)
Feels harsh to call C programmers "crappy" but ok
Re:OpenSSL Security Advisory (14 December 2021) by ChrisMarshallNY on Tuesday December 14, 2021 @09:02PM (#29561127)
Isn’t Linus a pretty hard-core C programmer?

Not sure I’d call him “crappy.” Not to his face, anyway …

Re:OpenSSL Security Advisory (14 December 2021) by bigiain on Tuesday December 14, 2021 @10:19PM (#29561667)
I'm fairly sure he'd have no such reticence to calling you (or me) crappy to our (mailing list) faces...
Re:OpenSSL Security Advisory (14 December 2021) by ChrisMarshallNY on Wednesday December 15, 2021 @09:33AM (#29566431)
This is true, but I have to admit, he does C (and programming, in general) quite well.
Re:OpenSSL Security Advisory (14 December 2021) by baby on Tuesday December 14, 2021 @03:49PM (#29557470)
> This bug would not happen by not using C

FTFY

Re:OpenSSL Security Advisory (14 December 2021) by cnmlsx on Tuesday December 14, 2021 @05:38PM (#29559100)
Come on. As 0xbadcafebee hinted at, you can practically write OCaml in C if you wish to. And good luck dealing with timing attacks, secure data deletion and overflow behavior in other languages.
Re:OpenSSL Security Advisory (14 December 2021) by api on Tuesday December 14, 2021 @09:15PM (#29561219)
All those are pretty easy in Rust.
Re:OpenSSL Security Advisory (14 December 2021) by jupp0r on Tuesday December 14, 2021 @10:04PM (#29561575)
Rust software is bug free by design /s.
Re:OpenSSL Security Advisory (14 December 2021) by minitech on Tuesday December 14, 2021 @11:20PM (#29562050)
Rust software is free of entire classes of bugs by default, by design, and the language lends itself to patterns that eliminate even more.
Re:OpenSSL Security Advisory (14 December 2021) by jupp0r on Saturday December 25, 2021 @08:05PM (#29688678)
Sure, but none of the classes of bugs you mention contain Log4Shell.
Re:OpenSSL Security Advisory (14 December 2021) by hulitu on Wednesday December 15, 2021 @04:43PM (#29571985)
The only issue is that Rust programmers do not do anything usefull. The only place i heard Rust is used is in Firefox. So, if Rust is so good, will be nice to see some real world uses.
Re:OpenSSL Security Advisory (14 December 2021) by baby on Friday December 17, 2021 @03:27AM (#29589432)
LOOOL
Re:OpenSSL Security Advisory (14 December 2021) by ketralnis on Tuesday December 14, 2021 @10:46PM (#29561845)
Nobody is making that argument. It's about what the language/libraries guide you to naturally.
Re:OpenSSL Security Advisory (14 December 2021) by wepple on Tuesday December 14, 2021 @04:42PM (#29558309)
Really not a value-add contribution. A lot of software that has existed forever is written in C by unpaid volunteers; are you planning to rewrite it in rust?

Further, snark could be made about how this will have near zero security impact yet there’s a far more serious bug (log4j) which has already had significant cost and follows endless patterns of Java developers embedding logic flow in untrusted data. “Just don’t use Java lol” etc

Edit: Hahaha, hey David. Had no idea that was you.

Re:OpenSSL Security Advisory (14 December 2021) by baby on Tuesday December 14, 2021 @05:21PM (#29558900)
Who is this :D mason?