summaryrefslogtreecommitdiffstats
path: root/src/plugins/directshow/helpers/directshowpinenum.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-04-24 13:22:15 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-04-25 12:11:32 +0000
commit56185dedd2a075e5b7e72c18e766a60b890c14a1 (patch)
tree2e7180eda06cb1259e6ae0636a2e468910debb8f /src/plugins/directshow/helpers/directshowpinenum.cpp
parent64e84dab2673020e4384ae36d9d1e9e4f0d8052d (diff)
DirectShow: Fix uninitialized memory read in DirectShowMediaTypeEnum::Next()
Newly allocated memory was passed to DirectShowMediaType::copy(), which calls DirectShowMediaType::clear() on the target, which crashes when trying to release a COM pointer. Split out a DirectShowMediaType::copyToUninitialized() helper function which does not call clear() for this purpose. Task-number: QTBUG-59515 Change-Id: I2801f4ba2c8da618ff8a1c57c4cea215fff292b4 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/plugins/directshow/helpers/directshowpinenum.cpp')
0 files changed, 0 insertions, 0 deletions