From c6462eed99827154823e8e9ee07b8cf9311b518d Mon Sep 17 00:00:00 2001 From: Yoann Lopes Date: Fri, 21 Oct 2016 16:13:14 +0300 Subject: WMF: fix incorrect pointer dereference Task-number: QTBUG-56134 Change-Id: I9c8799a96ff08f2657e4879dfbe14de3bfe3d25f Reviewed-by: Christian Stromme --- src/plugins/wmf/mfstream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/wmf/mfstream.cpp b/src/plugins/wmf/mfstream.cpp index 170c816e5..7d3556b09 100644 --- a/src/plugins/wmf/mfstream.cpp +++ b/src/plugins/wmf/mfstream.cpp @@ -230,7 +230,7 @@ STDMETHODIMP MFStream::Seek( break; } bool seekOK = m_stream->seek(pos); - if (*pqwCurrentPosition) + if (pqwCurrentPosition) *pqwCurrentPosition = pos; if (seekOK) return S_OK; -- cgit v1.2.3