]> granicus.if.org Git - php/commit
Bug #72663 - part 2
authorNikita Popov <nikic@php.net>
Wed, 10 Aug 2016 12:30:16 +0000 (14:30 +0200)
committerStanislav Malyshev <stas@php.net>
Wed, 17 Aug 2016 07:47:02 +0000 (00:47 -0700)
commit61f2f5a0f760157f9c9d32d7d3df2be47a73e74d
tree36645c7e53374564d7ab4135837987dbac894a6b
parent2135fdef9b588a34f8805b2bbf10704e36163d5a
Bug #72663 - part 2

If a (nested) unserialize() call fails, we remove all the values
that were inserted into var_hash during that call. This prevents
their use in other unserializations in the same context.
ext/standard/tests/serialize/bug72663_2.phpt [new file with mode: 0644]
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re