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

Millions of people in the world are affected by this library, 10 times over for every devices and apps they use.

I'm sorry but I call for libraries used by millions around the world to NOT use C. And I love C... But this risk ratio is off the charts and they ought to not use C for such critical libraries.

Even as a C guru, you are going to make a mistake, at some point.

I think this is the fix https://github.com/webmproject/libwebp/commit/dce8397fec159c...

"malloc fail"? :facepalm: (oh yes, Slack, Discord, Teams, everything is affected, including all modern OS).





Thanks!



Same here. Rust should be the "new C". Because you can code in C doesn't mean you should produce large quantities of complex code in it for "performance", "portability", or "legacy compatibility" "reasons".

C/C++ as well as dynamic languages create huge surfaces of undefined behavior and subtle bugs that are too difficult to lint and too burdensome for even the most astute coders.

Fundamental libraries should also be formally verified in a manner similar to seL4.

Also, another problem is a pervasive attitude of unprofessionalism and dismissiveness of rigor, quality, correctness, and security in FOSS. The current approach of building empires on quicksand is foolish.


Not a single test, either here or in adjacent commits.

!?!




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

Search: