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

Unsafe use of rand() in X11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 4.7.0
    • 4.5.3
    • None
    • None
    • Debian Sid, i386
    • 0ebc9783d8ca0c4b27208bbc002c53c52c19ab4c

    Description

      The X11 platform code calls the non-thread-safe rand() function in two places.
      qrand() should be used instead.

      Two liner trivial patch attached.

      Attachments

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

        Activity

          People

            bhughes Bradley T. Hughes (closed Nokia Identity) (Inactive)
            courmisch Rémi Denis-Courmont
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes