oleaut32: Allocate a full pointer when unmarshalling byref arrays.
commit76e7f030feb3b26ae409c2f1027f16168bcdd420
authorRémi Bernon <rbernon@codeweavers.com>
Thu, 23 Feb 2023 14:01:21 +0000 (23 15:01 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 27 Feb 2023 09:59:19 +0000 (27 10:59 +0100)
tree08ec0f9eed250410ca9698da62863be77273cfdc
parent3e82dc30e2244b7ad4942bd368964988d5700ced
oleaut32: Allocate a full pointer when unmarshalling byref arrays.

Instead of the 4 bytes array wire size returned by get_type_size,
which will truncate the pointer on 64-bit.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54562
dlls/oleaut32/tests/usrmarshal.c
dlls/oleaut32/usrmarshal.c