"Neil Hodgson" <[EMAIL PROTECTED]> wrote:
> 
> Jeremy Evans:
> 
> > In updating the Scintilla and SciTE ports to 1.70 for OpenBSD, I've
> > done a code audit and replaced the insecure string handling functions
> > (strcat, strcpy, sprintf) with the secure ones (strlcat, strlcpy,
> > snprintf, respectively).  Hopefully these security fixes can be
> > applied to future versions of Scintilla and SciTE.
> 
>    I won't be incorporating patches that will not compile with the
> above compilers or with GCC 4.1.

If the signatures are somewhat compatible, it would seem reasonable to
use compiler-specific macro definitions, or even wrapper functions whose
bodies are inlined.  Or maybe I have no idea what I'm talking about.

 - Josiah

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to