Issue 58: overflow at srandom(osx only)
http://code.google.com/p/v8/issues/detail?id=58

Comment #2 by [EMAIL PROTECTED]:
Submitted a change for review: http://codereview.chromium.org/1887

srandomdev, while appropriate for a V8 shell on Mac OS X, cannot be used  
because it potentially needs to break out of
the sandbox imposed by the embedding Google Chrome architecture. According  
to the man pages "srandomdev(3)"
needs to access the /dev/random device as part of the call to "radom(4)".

I have instead modified the suggested patch to avoid the clipping of the  
TimeCurrentMillis() result when converting it to
unsigned int. Also, to ensure this bug does not hit us on other platforms  
(Linux and Windows) I have updated the
relevant code as well.



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to