diff options
author | Samuel Nevala <samuel.nevala@intopalo.com> | 2015-12-07 10:51:18 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@theqtcompany.com> | 2016-01-04 13:12:19 +0000 |
commit | 7fdfaad43f75bab9d701b0b55c13570d2140fde4 (patch) | |
tree | 10bc02371bd08ae125ee67290a7b10a7cd250b1d /src/gui/kernel/qwindow.cpp | |
parent | b12e876efce4309ed61c04b9232ee80ec64baddc (diff) |
Fix deadlock when setting environment variables.
Qt uses QHash as the container for faking environment variables on
Windows Runtime and CE. Environment variable manipulation functions are
protected by mutex. Accessing the QT_HASH_SEED environment variable
inside QHash can lead to situation where qputenv() call leads to
qgetenv() call and that leads to a deadlock. Change the container
from QHash to QVector to avoid deadlock.
Task-number: QTBUG-49529
Change-Id: I550ead4ab12e7abebc044f52339063a44fcf0170
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
Diffstat (limited to 'src/gui/kernel/qwindow.cpp')
0 files changed, 0 insertions, 0 deletions