]> granicus.if.org Git - php/commit
Fix #66322: COMPersistHelper::SaveToFile can save to wrong location
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 6 Feb 2020 13:59:55 +0000 (14:59 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 6 Feb 2020 13:59:55 +0000 (14:59 +0100)
commit5e2ea00b1539d6003548f7698ece1f737c14fb51
tree948492a1d6e10ba7b53fb96465342d7a82c8b386
parent13bfa9f5ac04a65300cf20211e2e3314e827595d
Fix #66322: COMPersistHelper::SaveToFile can save to wrong location

Saving under the given `filename` may also work, but since
`::LoadFromFile` uses the `fullpath` we follow suit.
NEWS
ext/com_dotnet/com_persist.c
ext/com_dotnet/tests/bug66322.phpt [new file with mode: 0644]