URL:
  <http://gna.org/bugs/?9662>

                 Summary: Random generator broken over the network
                 Project: Wormux
            Submitted by: gentildemon
            Submitted on: vendredi 03.08.2007 à 12:22
                Category: Network
                Severity: 5 - Blocker
                Priority: 7 - High
                  Status: None
             Assigned to: gentildemon
        Originator Email: 
             Open/Closed: Open
                 Release: svn
         Discussion Lock: Any

    _______________________________________________________

Details:

Thanks to Kyle, we have notice that RAND_MAX is different (at least) on Linux
and Windows.

This constant is used by the network random generator (RandomSync) to limit a
generated number between a max and a min.

The result of this is that all public methods RandomSync::Get*() will return
incorrect values if client is not of the same plateform of the client.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?9662>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to