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

Qt's user IDN whitelist code is not thread-safe

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.2.0 Beta1
    • None

    Description

      Qt allows user to specify custom IDN whitelist using QUrl::setIdnWhitelist(). The list is then stored in a global variable that is accessed without any locking.

      The documentation should either specify that this function should only be called before any other thread tries to use the list or the implementation should be made thread safe. I prefer the later because it is hard for a developer to see where the list may be used.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            ievgenii.meshcheriakov Ievgenii Meshcheriakov
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes