From: "Bill Stoddard"

::  Index: mod_win32.c
::  && (strncmp(elts[i].key, "HTTP_", 5) == 0
::    || strncmp(elts[i].key, "SERVER_", 7) == 0

FYI...

Seen the new safer C strings for Windows
programmers?

<quote>
Strsafe.h: Safer String Handling in C

Keep your C code secure with strsafe.h
functions, a set of safer string handling
functions for the C programming language.

During the Microsoft Windows Security
Push, a group of testers, program managers,
and programmers decided to define and
create a set of safer string handling functions
for the C programming language. The aim was
to provide a set of functions that could be used
by Windows developers and developers
across Microsoft.
</quote>

Strsafe.h: Safer String Handling in C
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsec
ure/html/strsafe.asp

Using the Strsafe.h Functions
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui
/winui/windowsuserinterface/resources/strings/usingstrsafefunctions.as
p

StringCchCatEx
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui
/winui/windowsuserinterface/resources/strings/stringreference/stringfu
nctions/stringcchcatex.asp

JLW








Reply via email to