3 ms·
If I look at the code as posted then "it uses strcpy instead of strncpy" is very low on the list of "problems". "Problems" in quotes because, you know, this is
by arp242 5y ago
If I look at the code as posted then "it uses strcpy instead of strncpy" is very low on the list of "problems".
"Problems" in quotes because, you know, this is IOCCC entry. You're taking a joke way to serious.
- throwaway984393 5y agoThe author literally asked for security advice, and then ignored it. I'm trying to explain why one should not just ignore it. There's a lot of novice programmers who read these threads and might think it's perfectly fine to use strcpy (outside of IOCCC submissions). And by the way, who the hell cares about security vulns in IOCCC submissions anyway? It's not supposed to be secure, it's supposed to be obfuscated.
- jart 5y agoI don't think anyone asked for free advice from a foul-mouthed anonymous throwaway on how to secure their computer. If I was building a website I'd want to secure it from you not with you.
- jijji 5y agoso every secure programming C book ever written that tells people to never use strcpy() is wrong? please explain...