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

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

XMLWordPrintable

    • 13
    • 816f4dfd2 (6.9), 814624948 (6.9), f1c3af04a (dev), cd64c8080 (6.10), 02ed0c776 (6.9), d1dfd8a62 (tqtc/lts-6.8), 37ba54cfb (tqtc/lts-6.8), 4b5ac7283 (tqtc/lts-6.8), d409c3d26 (tqtc/lts-6.5), 29fc48893 (tqtc/lts-6.5), 2e24a8d61 (tqtc/lts-6.5)
    • Foundation Sprint 134, Foundation Sprint 135, Foundation Sprint 136, Foundation Sprint 137, Foundation Sprint 138

      The code simply assumes that it can stuff QString::size() into an int32_t and even add 25% on top. In reality, this truncates, with potentially nasty consequences, depending on how ICU handles things.

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

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

              Created:
              Updated:

                There is 1 open Gerrit change