[Bug 797086] matroskamux: don't store used UIDs
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Sep 6 00:15:33 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=797086
--- Comment #2 from Martin Kelly <mkelly at xevo.com> ---
Could you clarify what you mean by this? Do you mean, for instance, that the
first N bits of the UID would be a timestamp? Are you concerned about a buggy
random number generator creating a collision?
Absent a random number generator bug, I'm not sure how collisions could happen
at all... to reach a 50% collision probability, you would need to generate "1
billion UIDs per second for about 85 years"
(https://en.wikipedia.org/wiki/Universally_unique_identifier#Collisions). The
only practical way I think we should see collisions is if the random number
generator is cyclical or buggy. Adding a timestamp could theoretically help in
such a case, but if we are speculating, the clock could be buggy too.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list