mirror of
https://github.com/php/php-src.git
synced 2026-04-22 23:48:14 +02:00
1806ce9cb0
Add a max_depth option to unserialize and an unserialize_max_depth ini setting, which can be used to control the depth limit. The default value is 4096. This option is intended to prevent stack overflows during the unserialization of deeply nested structures. This fixes bug #78549 and addresses oss-fuzz #17581, #17589, #17664, and #17788.
7.7 KiB
7.7 KiB