1 |
On Mon, 27 Apr 2020 18:57:47 +0300 |
2 |
lego12239@××××××.ru wrote: |
3 |
|
4 |
> You have lost faith in people ;-). |
5 |
|
6 |
Only Torvalds can write Segfault free code. |
7 |
|
8 |
Everyone else tries hard, and eventually get beaten into submission by |
9 |
GCC and UB. |
10 |
|
11 |
( Yes, I'm being a little hyperbolic, but the test of time has shown |
12 |
how hard it is to write safe code in C even by those who seem to know |
13 |
what they're doing. And that's not just segfaults, but non-failing |
14 |
exploits by breaking memory buffers. Heartbleed for example. You |
15 |
really gotta ask yourself how many significant vulnerabilities out |
16 |
there take root from the fact they're implemented in C somewhere, and C |
17 |
gave you no compiler safety insurance ) |