]> granicus.if.org Git - php/commit
Deny serialization of finfo objects
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 26 Oct 2020 15:54:30 +0000 (16:54 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 26 Oct 2020 15:54:30 +0000 (16:54 +0100)
commit6d3695a217c8a3a295fc723a8bd079db05984b70
treeafbbdeae85e2f45507fe6a2d412f7a55f35da0f2
parent70388cc0edf91acd3899860798fcf418928a9fb4
Deny serialization of finfo objects

The resulting objects were already unusable, make it error out
earlier.
ext/fileinfo/fileinfo.c
ext/fileinfo/tests/clone_serialize.phpt