Unless you can predict their input data, then certainly don't ignore the fact they're using gets(). There's really no reason to use it, or ignore the fact someone else is using it. In most cases, it could be fixed by a simple regex find-and-replace. In VIM:
And that took all of 5 seconds to come up with. Not only is there no reason for not using gets(), there's also no reason to leave it there.Code::%s/gets(\(.*\))/fgets(\1, sizeof(\1), stdin)/gc