diff options
author | Gatis Paeglis <gatis.paeglis@theqtcompany.com> | 2015-01-07 14:50:41 +0100 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-01-08 01:06:21 +0100 |
commit | d40b66a8ef98777c69ac293dac9a332f88832c23 (patch) | |
tree | 629c73cc45a795a905074de4ca19f9c0584e08c8 /src/plugins/platforms/xcb/qxcbkeyboard.cpp | |
parent | 8190291fb0b0e93fe3d80efdff831d50a8ef9671 (diff) |
Fix use-after-free bug
xcb_image_destroy() calls free on m_xcb_image
and then few lines down we access member of
m_xcb_image. Swap order of these two actions.
Change-Id: I01fb43a066459cce462df6af22161c35cef524eb
Task-number: QTBUG-43623
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbkeyboard.cpp')
0 files changed, 0 insertions, 0 deletions