Reply to post: Re: re: Someone will be along in a moment to blame C for all that, by the way.

FreeBSD 13.0 to ship without WireGuard support as dev steps in to fix 'grave issues' with initial implementation

Phil O'Sophical Silver badge

Re: re: Someone will be along in a moment to blame C for all that, by the way.

If it's so difficult to write C well

It isn't. Problems like:

random sleeps added to "fix" race conditions, validation functions that just returned true, catastrophic cryptographic vulnerabilities, whole parts of the protocol unimplemented, kernel panics, security bypasses, overflows, random printf statements deep in crypto code

are just bad coding, no matter what the language. "sleeps to fix race conditions" FFS? What sort of crappy junior-school coder thinks that's a solution?

the most spectacular buffer overflows

OK, that's easy to do in C if you're not paying attention, but there are functions you can use to avoid it, and test tools to catch it.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2021