Alexandre Julliard pushed to branch master at wine / wine
Commits: d389df19 by Yuxuan Shui at 2025-08-28T10:25:21+02:00 ole32: Don't get metafile extent if there is no metafile.
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.
- - - - -
1 changed file:
- dlls/ole32/datacache.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/d389df194f094948ba2e1fd6f600442...