Quote:
Originally Posted by enpey
When compiling I receive errors from gcc-4.2 about using strcpy(), sprintf() and strcat().
|
Most likely these were warnings. Compilation should be allowed to continue if these functions are used.
Quote:
Is this something to do with OpenBSD gcc (3.3.5) being modified to force all calls to the safer versions of the above functions, while gcc-4.2 is not?
|
Basically, yes.
gcc(1) as
BSDfan666 mentioned earlier is modified to promote more secure practices, however it does not
force code to be changed.