Undefined variable ends up as garbage

Paweł Stradomski pstradomski at gmail.com
Mon Nov 2 03:39:15 MSK 2009


Hello,

I have found a possible bug in nginx. I had a variable defined with "set" and 
used with "fastcgi_param" in one of virtual hosts definition. Then I copied 
the site file to create a new virtual host. I've removed the "set" line, but 
not the "fastcgi_param" one. It caused random bytes to be inserted into that 
fastcgi parameter. Everything else was OK, but those random bytes look 
suspicious (possible memory violation?)

I'm using nginx/0.6.32, debian build.

-- 
Paweł Stradomski





More information about the nginx mailing list