3 ms·
This is not really a problem in C, since there's little beyond the "just enough". But agreed about other languages. With C++ you're basically always at a point
by einpoklum 6y ago
This is not really a problem in C, since there's little beyond the "just enough". But agreed about other languages.
With C++ you're basically always at a point where you only know a little, even if you've worked on your C++ skills for years... :-P
- pjmlp 6y agoIt is because it means many code against the security considerations of K&R C.
- einpoklum 6y agoI'm not sure I understand what you mean. Can you give a concrete example?
- pjmlp 6y agoThe many book examples would be exploitable under the traditional attack vectors nowadays in practice, or would generate tons of red lights when put under a static analyser, yet that is how many still program in C. Bare bones strcpy() and memcpy(), pointer arithmetic all over the place without helper functions to validate application invariants, #ifdef spaghetti code, not using translation units as poor man's modules,...