View Single Post
  #7   (View Single Post)  
Old 26th August 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by enpey View Post
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.
Reply With Quote