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

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

    XMLWordPrintable

Details

    • 13
    • 4806a5a85 (dev), 6f4d64b21 (dev), ea092bd76 (6.10), cd3e0bdb5 (6.10), 816f4dfd2 (6.9), 814624948 (6.9), f1c3af04a (dev), cd64c8080 (6.10), 02ed0c776 (6.9)
    • Foundation Sprint 134, Foundation Sprint 135

    Description

      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.

      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:
              3 Start watching this issue

              Dates

                Created:
                Updated: