php-src/ext/standard/tests/serialize
Nikita Popov 2d467abc46 Fix another typed resource issue in unserialization
We also need to discard old entries in the ref_props HT when values
are overwritten.

We should really forbid these kinds of overwrites. I believe they
can only occur in manually crafted serialization strings, and
cause so many problems...

Fixes oss-fuzz #28257.
2020-12-07 12:36:09 +01:00
..
001.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
002.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
003.phpt Use serialize_precision for var_dump() 2020-02-25 09:51:32 +01:00
004.phpt
005.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
006.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
__serialize_001.phpt Implement new custom object serialization mechanism 2019-03-22 10:43:06 +01:00
__serialize_002.phpt Fixed bug #77873 2019-04-09 17:27:02 +02:00
__serialize_003.phpt Implement new custom object serialization mechanism 2019-03-22 10:43:06 +01:00
__serialize_004.phpt Implement new custom object serialization mechanism 2019-03-22 10:43:06 +01:00
__serialize_005.phpt Implement new custom object serialization mechanism 2019-03-22 10:43:06 +01:00
__serialize_006.phpt Fix leak on error in new serialization mechanism 2019-04-09 17:19:44 +02:00
__serialize_007.phpt Fix use-after-free due to packed->mixed conversion with __unserialize() 2019-09-16 14:37:16 +02:00
autoload_implements.inc Reindent phpt files 2020-02-03 22:52:20 +01:00
autoload_interface.inc Reindent phpt files 2020-02-03 22:52:20 +01:00
bug14293.phpt Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
bug21957.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug23298.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug24063.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug25378.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
bug26762.phpt Run tidy 2020-09-18 14:28:32 +02:00
bug27469.phpt
bug28325.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug30234.phpt Run tidy 2020-09-18 14:28:32 +02:00
bug31402.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
bug31442.phpt
bug35895.phpt Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
bug36424.phpt
bug37947.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug42919.phpt
bug43614.phpt
bug45706.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug46882.phpt
bug49649.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug49649_1.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug49649_2.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug55798.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug62373.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug62836_1.phpt
bug62836_2.phpt
bug64146.phpt
bug64354_1.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug64354_2.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug64354_3.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug65481.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug65806.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug67072.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug68044.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug68545.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
bug68594.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug68976.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug69139.phpt
bug69152.phpt Make Exception::$trace typed array property 2020-05-28 13:55:38 +02:00
bug69210.phpt Skip non-existing properties returned by __sleep() 2020-04-22 16:41:04 +02:00
bug69425.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug69793.phpt Make Exception::$previous a typed property 2020-05-28 14:01:29 +02:00
bug70172.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug70172_2.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug70213.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug70219.phpt Remove xfail on bug70219.phpt 2019-09-25 10:57:03 +02:00
bug70219_1.phpt Revert "Increase serialize_lock while decoding session" 2019-12-30 11:27:13 +01:00
bug70436.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug70513.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug70963.phpt Make Exception::$trace typed array property 2020-05-28 13:55:38 +02:00
bug71311.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug71313.phpt
bug71840.phpt
bug71940.phpt
bug71995.phpt Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
bug72229.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
bug72663.phpt
bug72663_2.phpt
bug72663_3.phpt Fix #73529: session_decode() silently fails on wrong input 2020-06-10 16:48:49 +02:00
bug72731.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug72785.phpt
bug73052.phpt
bug73154.phpt
bug73341.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug73825.phpt
bug74101.phpt Sanity-check array/object lengths during unserialization 2019-09-16 11:38:35 +02:00
bug74103.phpt
bug74111.phpt
bug74300.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
bug74614.phpt
bug75054.phpt
bug76300.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug78438.phpt Fix #78438: Corruption when __unserializing deeply nested structures 2019-08-23 11:41:06 +02:00
bug79526.phpt Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
bug80411.phpt Fixed bug #80411 2020-11-25 17:23:42 +01:00
counting_of_references.phpt
incomplete_class.phpt Promote incomplete class to modification to Error 2020-08-28 11:14:43 +02:00
invalid_signs_in_lengths.phpt
max_depth.phpt Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
overwrite_untyped_ref.phpt Fix removal of type source during unserialization 2020-12-04 12:56:05 +01:00
precision.phpt Run tidy 2020-09-18 14:28:32 +02:00
ref_to_failed_serialize.phpt Fix issue mentioned in #77302 2019-02-21 12:04:49 +01:00
serialization_arrays_001.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_arrays_002.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_arrays_003.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_arrays_004.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_arrays_005.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_error_002.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_miscTypes_001.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_objects_001.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_objects_002.phpt Promote "undefined array key" notice to warning 2020-08-03 14:40:50 +02:00
serialization_objects_003.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_objects_004.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_objects_005.phpt Promote incomplete class to modification to Error 2020-08-28 11:14:43 +02:00
serialization_objects_006.phpt Promote incomplete class to modification to Error 2020-08-28 11:14:43 +02:00
serialization_objects_007.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_objects_008.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_objects_009.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_objects_010.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_objects_011.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_objects_012.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_objects_013.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_objects_014.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_objects_015.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
serialization_precision_001.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_precision_002.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialization_resources_001.phpt Remove unnecessary PHPDoc-alike blocks from tests 2020-06-24 13:13:44 +02:00
serialize_globals_var_refs.phpt Fix ref ID handling when serializing $GLOBALS 2018-10-08 13:16:23 +02:00
sleep_deref.phpt Deref names returned by __sleep() 2020-01-02 11:14:00 +01:00
sleep_mangled_name_clash.phpt Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
sleep_undefined_declared_properties.phpt Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
sleep_uninitialized_typed_prop.phpt Fix bug #79447 2020-04-23 10:30:33 +02:00
splobjectstorage_negative_count.phpt Fix skipif condition 2019-09-23 17:17:52 +02:00
typed_property_ref_assignment_failure.phpt Fix unserialization ref source management, again 2020-11-25 17:04:07 +01:00
typed_property_ref_overwrite.phpt Fix another ref source management bug in unserialize 2020-11-30 14:23:54 +01:00
typed_property_ref_overwrite2.phpt Fix another typed resource issue in unserialization 2020-12-07 12:36:09 +01:00
typed_property_refs.phpt Fix unserialization ref source management, again 2020-11-25 17:04:07 +01:00
unserialize_abstract_class.phpt Fix segfault when unserializing abstract class 2019-09-16 13:52:52 +02:00
unserialize_classes.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
unserialize_error_001.phpt Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
unserialize_large.phpt Sanity-check array/object lengths during unserialization 2019-09-16 11:38:35 +02:00
unserialize_leak.phpt Fix leak in SplObjectStorage unserialization 2019-09-16 13:02:32 +02:00
unserialize_mem_leak.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
unserialize_neg_iv_edge_cases.phpt Skip test on 32-bit 2019-09-23 14:52:32 +02:00
unserialize_subclasses.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
unserializeS.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00