apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Hay" <Steve...@planit.com>
Subject RE: [PATCH] Fix VS2010 release builds on Vista/2008/Win7
Date Wed, 09 Mar 2011 10:34:09 GMT
Steve Hay wrote on 2011-02-09:
> See http://marc.info/?t=129681675100001&r=1&w=2 for background on this
> patch.
> In brief, I have found that the environment reprocessing done by APR
> leaves _environ in a state such that the next call to putenv() which
> replaces an existing environment variable can cause the program to
> crash. The crash only comes when everything is built in release mode
> with VS2010 and run on Vista, Server 2008 or Windows 7, but it does
> happen every time in those cases.
> However, the attached patch modifies the APR environment reprocessing
> malloc each environment string individually, just like stdenvp.c did
> originally, and this makes the crashes go away.
> The patch applies to the HTTPd Win32 source code zip file
> (httpd-2.2.17-win32-src.zip). Please let me know if you'd rather I
> supplied a patch against the plain APR sources.

What is the status of this proposed patch which I posted one month ago

Do I need to resend it as a patch against the APR sources and/or log it
as a bug, or is it being considered anyway?

Just trying to unwarnock it...

View raw message