mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
Fixed bug #33210 (relax jpeg recursive loop protection).
This commit is contained in:
parent
29319a81b8
commit
fd396287d0
@ -398,7 +398,7 @@ static unsigned int php_next_marker(php_stream * stream, int last_marker, int co
|
||||
last_marker = M_PSEUDO; /* stop skipping non 0xff for M_COM */
|
||||
}
|
||||
}
|
||||
if (++a > 10)
|
||||
if (++a > 25)
|
||||
{
|
||||
/* who knows the maxim amount of 0xff? though 7 */
|
||||
/* but found other implementations */
|
||||
|
Loading…
Reference in New Issue
Block a user