[vlc-devel] Fwd: [Qt bugreports] Resolved: (QTBUG-9793) Unsafe use of rand() in X11

Rémi Denis-Courmont remi at remlab.net
Wed May 12 14:09:51 CEST 2010


FYI.

-------- Original Message --------
Subject: [Qt bugreports] Resolved: (QTBUG-9793) Unsafe use of rand() in X11
Date: Wed, 12 May 2010 11:45:55 +0200 (CEST)
From: "Bradley Hughes (via JIRA)" <jira-noreply at qt.nokia.com>
To: rem at videolan.org


     [
http://bugreports.qt.nokia.com/browse/QTBUG-9793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bradley Hughes resolved QTBUG-9793.
-----------------------------------

          Changes: 0ebc9783d8ca0c4b27208bbc002c53c52c19ab4c
    Fix Version/s: 4.7.0 (Next Minor Release)
                       (was: Some future release)
       Resolution: Done

> Unsafe use of rand() in X11
> ---------------------------
>
>                 Key: QTBUG-9793
>                 URL: http://bugreports.qt.nokia.com/browse/QTBUG-9793
>             Project: Qt
>          Issue Type: Bug
>          Components: Platform: X11
>    Affects Versions: 4.5.3
>         Environment: Debian Sid, i386
>            Reporter: Rémi Denis-Courmont
>            Assignee: Bradley Hughes
>            Priority: P4: Low
>             Fix For: 4.7.0 (Next Minor Release)
>
>         Attachments: 0001-X11-use-qrand-instead-of-rand.patch
>
>
> The X11 platform code calls the non-thread-safe rand() function in two
places.
> qrand() should be used instead.
> Two liner trivial patch attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://bugreports.qt.nokia.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list