27 Feb
2024
27 Feb
'24
3:48 p.m.
On Tue Feb 27 13:32:48 2024 +0000, Nikolay Sivov wrote:
NdrOle*() are going through allocation spy thing, but internally are probably same HeapAlloc(). Maybe they reallocate, or something else. How do you know it's not calling HeapSize() ? The marshalling and unmarshalling functions crash instead of returning an error code if the buffer is too small. Furthermore, the pointers to the buffer do not move and `HeapSize` returns the same value before and after. I can't be perfectly certain that Windows isn't calling `HeapSize` internally, but I haven't found any evidence that it is.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5117#note_62817