diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-20 14:02:58 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-20 14:02:58 +0200 |
commit | bc1bbb4739cf4c2147dc78a43bf90f5a7258ec62 (patch) | |
tree | 331f9d9649388abd15a35cb20d966b1faa26f245 /tracker-s2bot | |
parent | 52ee0b456eefd80aeb3cf64c13b6501ee0ca5f22 (diff) |
pose-widget: fix Qt use-after-free
Due to Qt's implicit sharing, something goes wrong
when calling QImage::constBits().
It's likely related to to multithreading.
Strangely enough, `constBits()' shouldn't perform a
copy of the image according to Qt docs.
While here, remove the "offset" defensive coding. Also,
use a constant depth as to reduce confusion.
Diffstat (limited to 'tracker-s2bot')
0 files changed, 0 insertions, 0 deletions