3 ms·
Understanding the sharp edges is one thing. Being able to avoid them in practice is another. The history of memory safety problems in C string handling, espec
by tomjakubowski 6y ago
Understanding the sharp edges is one thing. Being able to avoid them in practice is another. The history of memory safety problems in C string handling, especially involving strcpy/strncpy, strongly suggests to me that they're unavoidable even for C programmers who are skilled, knowledgeable, and experienced.
- Tarragon 6y agoAs an embedded programmer mostly working with C who considers themselves skilled, knowledgeable, and experienced... I agree.