Details
-
Technical task
-
Resolution: Done
-
P2: Important
-
None
-
Team B Foundation Sprint 55, Team B Foundation Sprint 56
-
9c028b0ff4 (qt/qtbase/dev) 5e1f5534dd (qt/qtbase/6.3) 5e1f5534dd (qt/tqtc-qtbase/6.3) 9c028b0ff4 (qt/tqtc-qtbase/dev) c9b0131210 (qt/qtbase/6.2) c9b0131210 (qt/tqtc-qtbase/6.2)
Description
This code fails on 64-bit platforms:
const QString s = <more than 2^31 characters> const XmlStringRef ref(&s); assert(ref == s);
because s.length() is funneled through an int in XmlStringRef's ctor.