4 ms·
> CVE database is full of questionable safety exploits regarding C practices. I'm pretty sure josefx agrees with that given their second paragraph, they're mos
by masklinn 6y ago
> CVE database is full of questionable safety exploits regarding C practices.
I'm pretty sure josefx agrees with that given their second paragraph, they're mostly saying Annex K doesn't really make things better: it follows the usual (bad) C handling practices, and largely just adds more parameters to mess passing in.
- pjmlp 6y agoAnd what was the solution? Deprecate everything without any alternative.
- masklinn 6y agoI'm confused about what you're asking about. What was the solution to what? The stdlib being crap? Annex K being crap as well? C existing?
- pjmlp 6y agoAll three of them, actually. Now given that UNIX and POSIX clones aren't going away anytime soon, it would be interesting that WG14 actually cared to have papers to improve C's current lack of safety. Instead we get even more papers about how to exploit UB in name of ultimate performance.