Secure Programming
Name:
Email:
*Note: Email address will appear as "user domain ext" to prevent harvesting.
Subject:
Message:
 
Re: Are bad developer libraries the problem with M$ software? Nov 18 2002 06:26PM
Götz Babin-Ebell (babinebell trustcenter de)
Frank Knobbe wrote:

> Perhaps we should start development of a standardized 'safe' header file
> that can contain macros for snprintf, strncat and the like.
>
> Example:
> #define safe_snprinf(dst,len,fmt,var)
> snprintf(dst,(len>sizeof(dst)-1)?sizeof(dst)-1:len,fmt,var)
>
> #define safe_strca...

[ more ]  
 

Privacy Statement
Copyright 2010, SecurityFocus