Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.0 Beta
-
None
Description
getBuffer() hands out a reference to internal data without ref-counting it.
There's a mutex, but it only protects access to the QHash. That's necessary, but not sufficient if the function hands out pointers to data stored in the hash.
GCC ASAN report follows.
Attachments
Issue Links
- relates to
-
QTBUG-14614 Race condition with Qt's gradient cache
-
- Closed
-