]>
Commit | Line | Data |
---|---|---|
63897475 AM |
1 | --- php-5.2.12/ext/gd/libgd/gd_png.c~ 2009-03-14 18:48:42.000000000 +0100 |
2 | +++ php-5.2.12/ext/gd/libgd/gd_png.c 2010-01-28 21:23:10.826822644 +0100 | |
3 | @@ -139,7 +139,7 @@ | |
4 | return NULL; | |
5 | } | |
6 | ||
7 | - if (!png_check_sig (sig, 8)) { /* bad signature */ | |
8 | + if (png_sig_cmp(sig, 0, 8)) { /* bad signature */ | |
9 | return NULL; | |
10 | } | |
11 |