Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15.1
-
None
-
$qmake --version
QMake version 3.1
Using Qt version 5.15.1 in /usr/lib
$cat /etc/issue
Arch Linux \r (\l
-
-
6f2c7469f86785e6ba81fe0280210ef7275099de (qt/qtbase/dev) fa7a83953047fa79c27dc8e5bb9d42cb07fe2b7f (qt/qtbase/5.12) 550bac1f87f15deaaa7a5f2e47f3af159218bab2 (qt/qtbase/5.15)
Description
Hi,
saving a QImage in XPM format then loading the saved XPM image results in warnings, and the loaded image differs from the original one. The right-most column is "missing" (it is black).
E.g:
QImage: XPM pixels missing on image line 39 (possibly a C++ trigraph).
I attached an example project to reproduce the issue. It worked with qt 5.5 and 5.13 too. I also checked that the XPM saved by the qt 5.5 and 5.15.1 version is the same.
Attachments
For Gerrit Dashboard: QTBUG-86691 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
314059,2 | xpm handler: fix read error caused by off-by-one in overflow check | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |
314060,2 | xpm handler: fix read error caused by off-by-one in overflow check | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |
314345,2 | xpm handler: fix read error caused by off-by-one in overflow check | dev | qt/qtbase | Status: MERGED | +2 | 0 |