[ruby-core:64036] [ruby-trunk - Bug #10093] SecureRandom.uuid is unstable

From: nobu@...
Date: 2014-07-26 05:52:43 UTC
List: ruby-core #64036
Issue #10093 has been updated by Nobuyoshi Nakada.


'g' at the end?

----------------------------------------
Bug #10093: SecureRandom.uuid is unstable
https://bugs.ruby-lang.org/issues/10093#change-48049

* Author: Man Vuong
* Status: Open
* Priority: Normal
* Assignee: 
* Category: lib
* Target version: current: 2.2.0
* ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
SecureRandom.uuid sometimes generates some value like this:
e7be09bb-e939-43db-9c20-dfad9c27fd3g

And it's not a valid UUID. This problem occurred randomly for me, I don't know how to reproduce :(



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next