Skip to content

ole32: Don't get metafile extent if there is no metafile.

Yuxuan Shui requested to merge yshui/wine:ole32-save_emf into master

If entry->stgmedium.hEnhMetaFile is NULL, the data_size we get will be 0, we then allocate 0 bytes for data, but expect it to contain at least a METAFILEPICT, resulting in reading out-of-bound.

Merge request reports

Loading