[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-cgicc] bug in contributed fastcgi code
From: |
Volker Wysk |
Subject: |
[bug-cgicc] bug in contributed fastcgi code |
Date: |
Tue, 15 Jul 2003 18:37:26 +0200 (CEST) |
Hi
This time, it's a real bug. In contrib/FCgiIO.cpp:
// Parse environment
for(char **e = fRequest.envp; *e != NULL; ++e) {
STDNS string s(*e);
STDNS string::size_type i = s.find('=');
if(i != STDNS string::npos)
throw STDNS runtime_error("Illegally formed environment");
fEnv[s.substr(0, i)] = s.substr(i + 1);
}
The "if" line should be:
if(i == STDNS string::npos)
Bye,
Volker
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-cgicc] bug in contributed fastcgi code,
Volker Wysk <=