diff options
author | Chris Adams <christopher.adams@nokia.com> | 2011-11-14 01:57:21 (GMT) |
---|---|---|
committer | Chris Adams <christopher.adams@nokia.com> | 2011-11-15 07:24:43 (GMT) |
commit | 32e931b40edf4dc53424f3435d22f5c6419182f5 (patch) | |
tree | d0f6a0587a56d1113ab1c24b55574537f4f92e81 /tests/auto/q3socketdevice | |
parent | a32bfdef6d6b45c916f143dcf8495a2e102c3eec (diff) | |
download | Qt-32e931b40edf4dc53424f3435d22f5c6419182f5.zip Qt-32e931b40edf4dc53424f3435d22f5c6419182f5.tar.gz Qt-32e931b40edf4dc53424f3435d22f5c6419182f5.tar.bz2 |
Properly protect access to pixmap reader thread with mutex
Previously, access to the data from the reader thread wasn't guarded
properly, causing a crash when the reader thread was deleted prior to
QDeclarativePixmapData (which then attempted to dereference the
thread pointer to cancel the request), or in the case where a
QDeclarativePixmapData was deleted after its QDeclarativePixmapReply
was removed from the jobs queue but prior to processing.
Reviewed-by: Martin Jones
Task-number: QTBUG-22125
Diffstat (limited to 'tests/auto/q3socketdevice')
0 files changed, 0 insertions, 0 deletions