5 ms·
> overflowing a variable ...can easily happen indeliberately. Just as any other exceptions. Which C can't even handle in a deterministic way because it doesn't
by LessDmesg 7y ago
> overflowing a variable
...can easily happen indeliberately. Just as any other exceptions. Which C can't even handle in a deterministic way because it doesn't have built-in exceptions, so you have to rely on libraries or remembering to check error codes. Not easy to reason about.
> typing is a non-issue
When all your function ptrs have to be cast to and from (void*) - hell yeah it's an issue.
> minor hassle
Then why are buffer overflow exploits in C programs on the news?
- deleted 7y ago[deleted]
- zik 7y ago> When all your function ptrs have to be cast to and from (void*) - hell yeah it's an issue. I don't know how you got this impression. This is 100% incorrect.