http://bugs.freedesktop.org/show_bug.cgi?id=23774





--- Comment #6 from Ian Romanick <i...@freedesktop.org>  2009-09-16 16:51:11 
PST ---
Created an attachment (id=29610)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=29610)
glx: Use initstate_r / random_r instead of corrupting global random number
state

The hash table code actually needs some random numbers.  Calling random may not
be safe, regardless of the srandom issue, in multithreaded applications.  Using
initstate_r and random_r should fix these issues.

Geir, could you test this patch?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to