mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 679618 - Uninitialized memory in gfx/2d/SourceSurfaceCG.cpp; r=jmuizelaar
This commit is contained in:
parent
22ac610317
commit
3360aa4b4c
@ -110,7 +110,7 @@ SourceSurfaceCG::InitFromData(unsigned char *aData,
|
||||
};
|
||||
|
||||
void *data = malloc(aStride * aSize.height);
|
||||
memcpy(aData, data, aStride * aSize.height);
|
||||
memcpy(data, aData, aStride * aSize.height);
|
||||
|
||||
mFormat = aFormat;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user