Menu

#519 Fix to hash DoS breaks RNG

Feature Request
closed-fixed
None
5
2016-03-28
2014-01-31
No

Hi,

The call to srand() added in the hash DoS fix breaks some applications using expat and the rand() function. Imagine an application creating a lot of XML parsers - if two parsers are created in the same second, the rand() function calls after the parser creation will return the same sequence of "random" numbers.

Discussion

  • Sebastian Pipping

    • status: open --> closed-fixed
    • assigned_to: Sebastian Pipping
     
  • Sebastian Pipping

    The issue has been addressed on Git master now. Closing.

     

Log in to post a comment.

MongoDB Logo MongoDB