4 ms·
- What footguns do you often see beginners trip over? trying to use C (and I say that as someone who likes C) it is all but impossible to write a non-trivial
by blibble 3y ago
- What footguns do you often see beginners trip over?
trying to use C (and I say that as someone who likes C)
it is all but impossible to write a non-trivial C program that doesn't have security vulnerabilities
libcurl is very well written C, maintained by a expert with complete mastely but still has disastrous vulnerabilities
however once accept that no-one can write secure C, if you never expose it a network, you can maybe get away with it (like for PS1)
- Does it generally matter how I do error handling, so long as it isn't setjmp / longjmp?
are you really a beginner if you know about these? :)