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

QLocale::createSeparatedList() is reports wrong result for lists with more than 2Gi elements

    XMLWordPrintable

Details

    • 1
    • fcd96a441d (qt/qtbase/dev) fcd96a441d (qt/tqtc-qtbase/dev)
    • Foundation Sprint 61

    Description

      This code fails on 64-bit platforms:

      const QStringList list = ~~~ more than 2Gi entries ~~~~;
      assert(QLocale::c().createSeparatedList(list) == list.join(u','));
      

      There's some truncation going on.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-105047
          # Subject Branch Project Status CR V

          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 2 open Gerrit changes