Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.11
-
-
7c4b3648ca (qt/qtbase/dev) 7c4b3648ca (qt/tqtc-qtbase/dev) 46481e8464 (qt/tqtc-qtbase/5.15) 7f2fecba4f (qt/qtbase/6.4) 7f2fecba4f (qt/tqtc-qtbase/6.4) 0e0a3945de (qt/tqtc-qtbase/6.2)
Description
There're occasional crashes in qt_memrotate90 or qt_memrotate270.
The src and dest pointer should be checked before being used. The destination image, created by using malloc, could return 0. memrotate should do nothing if e.g. dest is null.
Unfortunately, there's no sample code to reproduce the crash but
two stackstraces are attached for a better understanding.
Attachments
For Gerrit Dashboard: QTBUG-108186 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
441679,2 | Handle allocation failure in QImage rotate 90/180/270 functions | dev | qt/qtbase | Status: MERGED | +2 | 0 |
441743,2 | Handle allocation failure in QImage rotate 90/180/270 functions | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
441744,2 | Handle allocation failure in QImage rotate 90/180/270 functions | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
441745,2 | Handle allocation failure in QImage rotate 90/180/270 functions | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |