]> granicus.if.org Git - php/commit
Fix #64130: COM obj parameters passed by reference are not updated
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 26 Aug 2020 12:45:13 +0000 (14:45 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Wed, 26 Aug 2020 12:50:04 +0000 (14:50 +0200)
commit5ff15e2651850ba30dde69056436b8774fac9166
tree0c89374826fe821be2fd005e9775fd800b50fde1
parentd179e34e42e8e9cc5250ba2265fb50a8187bb6b1
Fix #64130: COM obj parameters passed by reference are not updated

`ITypeInfo_GetIDsOfNames()` is supposed to fail with `E_NOTIMPL` for
out-of-process servers, thus we should not remove the already available
typeinfo of the object in this case.

We also properly free the `byref_vals`.
NEWS
ext/com_dotnet/com_com.c
ext/com_dotnet/tests/bug64130.phpt [new file with mode: 0644]