| ▲ | crote 4 days ago | ||||||||||||||||||||||
Its vulnerability overview page[0] also helpfully lists which were caused by the use of C. The fact that even an extremely-high-quality codebase like Curl is still encountering things like use-after-free issues is pretty damning for the people clamoring that it is perfectly possible for skilled programmers to write safe C. If even Daniel Stenberg can't consistently write safe C code, I think we can assume that nobody can. Either you switch to a memory-safe language like Rust, or you adopt a high-cost runtime checker like Fil-C, or you'll have to live with a never-ending series of memory safety vulnerabilities. | |||||||||||||||||||||||
| ▲ | rafterydj 3 days ago | parent | next [-] | ||||||||||||||||||||||
I don't know, that just seems like a category error that breaks apart when you get closer to any individual project. Use-after-free is still possible in Rust with unsafe. Assuming nobody _can_ write memory safe C is a good assumption for things like security modelling, regardless of how unlikely those issues actually come up. Securing code you/your org did not write and programming for yourself/your org are just fundamentally different jobs. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | eviks 4 days ago | parent | prev [-] | ||||||||||||||||||||||
Where is your extreme assessment coming from? | |||||||||||||||||||||||
| |||||||||||||||||||||||