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

Find a safer way to call QUtf8Functions::fromUtf8()

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None

    Description

      Reference: https://codereview.qt-project.org/c/qt/qtbase/+/630171/comment/5737fe58_8f5310fe/

      Coverity complains that we pass the address of a char32_t "singleton" to this function, which treats it as an array.

      Discuss and implement an alternative (e.g. overload that returns a optional<>? char32_t)

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            mmutz Marc Mutz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes