3 ms·
How do you mean? strcpy and friends aren't buggy - they work according to the spec, and you can't just go and change an API that literally billions of lines of
by Sharlin 13y ago
How do you mean? strcpy and friends aren't buggy - they work according to the spec, and you can't just go and change an API that literally billions of lines of code depend on. You can only provide new, better alternatives.
If you mean the buggy software that uses the unsafe C APIs (and is not careful enough), then, that's exactly what those posters are about.
- nullc 13y agoI'm pretty sure those posters are making fun of the thinking that says you can just use some replacements and magically be safe. The 'safe' versions of the functions have their own risks too. No amount of use-this-thing is a replacement for conscientious programming and review.