Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105104

QString::toHtmlEscaped() fails for more than 2Gi character long strings

    XMLWordPrintable

Details

    • c1991c63fc (qt/qtbase/dev) c1991c63fc (qt/tqtc-qtbase/dev) a974968d61 (qt/qtbase/6.4) a974968d61 (qt/tqtc-qtbase/6.4) 4ee9fc6a57 (qt/tqtc-qtbase/6.2) e9023427ff (qt/qtbase/6.3) e9023427ff (qt/tqtc-qtbase/6.3)
    • Foundation Sprint 62

    Description

      This code fails on 64-bit platforms, even if no replacement is needed:

      QString s(qsizetype(INT_MAX) + 1, u'A');
      assert(s.toHtmlEscaped() == s);
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mmutz Marc Mutz
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes