22 Jan
2024
22 Jan
'24
6:25 p.m.
Esme Povirk (@madewokherd) commented about dlls/gdiplus/image.c:
status = InvalidParameter; break; } - *size = sz; + return status; }
+void alloc_copy(const void *src, void *desc, UINT size) +{ + desc = malloc(size); + memcpy(desc, src, size); +}
This doesn't look right to me. Assigning to desc overwrites the value passed into the function. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4661#note_58435