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.