- Updated PCRE to provide better error handling in certain cases. (Andrei)
- NSAPI: added "bucket" parameter to list of non-php.ini-keys of php4_execute
for doing performance stats without warnings in server-log. (Uwe Schindler)
+- Fixed bug #29443 (Sanity check for wbmp detection). (Ilia)
- Fixed bug #29369 (Uploaded files with ' or " in their names get their names
truncated at those characters). (Ilia)
- Fixed bug #29349 (imagecreatefromstring() crashes with external GD library).
}
height = (height << 7) | (i & 0x7f);
} while (i & 0x80);
+
+ /* maximum valid sizes for wbmp (although 127x127 may be a more accurate one) */
+ if (height > 2048 || width > 2048) {
+ return 0;
+ }
if (!check) {
(*result)->width = width;