Module: wine Branch: master Commit: bff73016993f8c9439b88fb158ad801ce5ef15d0 URL: https://gitlab.winehq.org/wine/wine/-/commit/bff73016993f8c9439b88fb158ad801... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Thu Oct 26 14:39:03 2023 +0200 dmime: Skip segment chunk on parsing failure (or success). --- dlls/dmime/segment.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/dmime/segment.c b/dlls/dmime/segment.c index d7402911f00..5f409b3cb5a 100644 --- a/dlls/dmime/segment.c +++ b/dlls/dmime/segment.c @@ -833,6 +833,7 @@ static HRESULT WINAPI segment_persist_stream_Load(IPersistStream *iface, IStream } } + stream_skip_chunk(stream, &chunk); if (FAILED(hr)) { WARN("Failed to load segment from stream %p, hr %#lx\n", stream, hr);