Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.8.0, 5.15.11, 6.4.0
-
None
-
-
4d3f5ac0cc (qt/qtbase/dev) 4d3f5ac0cc (qt/tqtc-qtbase/dev) 2c5bab7614 (qt/tqtc-qtbase/6.2) 43f9f953bc (qt/qtbase/6.4) 43f9f953bc (qt/tqtc-qtbase/6.4) 046cfa3e64 (qt/tqtc-qtbase/5.15)
Description
QHostAddress("2a02:3033:41e:fee6:ccc:1b19:2605:3745").isEqual(QHostAddress::Any) returns true since internally, isEqual only checks the values of QHostAddress::Any but completely ignores to what it should compare.
There seem to be also no test cases for such checks.
Attachments
For Gerrit Dashboard: QTBUG-108103 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
440851,7 | QHostAddress: Fix incorrect comparison against 'Any' | dev | qt/qtbase | Status: MERGED | +2 | 0 |
441306,2 | QHostAddress: Fix incorrect comparison against 'Any' | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
441307,2 | QHostAddress: Fix incorrect comparison against 'Any' | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
441308,3 | QHostAddress: Fix incorrect comparison against 'Any' | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |