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

QLocale::toUpper() is not 64-bit-safe on Windows

    XMLWordPrintable

Details

    Description

      The code simply assumes that it can stuff QString::size() into an int parameter of LCMapString. In reality, this silently truncates, and may process only the first size() mod (INT_MAX+1) code points, failing the function's post-condition.

      git-blame fingers https://codereview.qt-project.org/c/qt/qtbase/+/476728 CC ulherman

      Attachments

        Issue Links

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

          Activity

            People

              Eddy Edward Welbourne
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes