[Bro-Dev] #825: topic/dnthayer/bif-tests

Bro Tracker bro at tracker.bro-ids.org
Fri Jun 29 14:38:13 PDT 2012


#825: topic/dnthayer/bif-tests
-----------------------------+------------------------
  Reporter:  dnthayer        |      Owner:
      Type:  Merge Request   |     Status:  closed
  Priority:  Normal          |  Milestone:  Bro2.1
 Component:  Bro             |    Version:  git/master
Resolution:  Solved/Applied  |   Keywords:
-----------------------------+------------------------

Comment (by jsiwek):

 In [34ead91f992cbc40dcb81053343e2ef60a3aff61/bro]:
 {{{
 #!CommitTicketReference repository="bro"
 revision="34ead91f992cbc40dcb81053343e2ef60a3aff61"
 Fix inconsistencies in random number generation.

 The srand()/rand() interface was being intermixed with the
 srandom()/random() one.  The later is now used throughout.

 Changed the srand() and rand() BIFs to work deterministically if Bro
 was given a seed file (addresses #825).  They also now wrap the
 system's srandom() and random() instead of srand() and rand() as per
 the above.
 }}}

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/825#comment:7>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list