dashiwa / php52-backports

Automatically exported from code.google.com/p/php52-backports
Other
0 stars 0 forks source link

Include bug #55510 fix in the security patch #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If PHP 5.2 has magic_quotes_gpc enabled it will remove the first char of 
uploaded file name

This is the bug in question: https://bugs.php.net/bug.php?id=55510
I think it is a consequence of the fix for CVE 2011-2202 aka bug #54939

So after you've applied this fix:
http://svn.php.net/viewvc?view=revision&revision=312103

You should also have applied this one:
http://svn.php.net/viewvc?view=revision&revision=315742

I've attached a patch file.

Thank you.

Regards,
NewEraCracker

Original issue reported on code.google.com by NewEraCr...@gmail.com on 7 Aug 2013 at 2:17

Attachments: