Skip to content

xcb: Avoid use-after-free in QXcbConnection::initializeScreens()

Albert Astals Cid requested to merge aacid/qtbase:QTBUG-88512 into kde/5.15

Extend the scope of the resources variable to avoid its destruction while it's still in use.

Fixes: QTBUG-88512

Pick-to: 5.15 5.12

Change-Id: I3298aabc871ff455bd1203ec276e7600d3e151ef

Reviewed-by: Liang Qi liang.qi@qt.io

Reviewed-by: Shawn Rutledge shawn.rutledge@qt.io

(cherry picked from commit 86b8c5c3)

Edited by Albert Astals Cid

Merge request reports