Christian Heimes added the comment: OpenSSL kinda takes care of that. The PRNG mixes the PID into the seed so parent and child won't see the same output. The patch fixes a slightly more tricky issue:
- parent initializes PRNG but never touches the PRNG again - parent forks lots of child processes - PIDs get reused -- two child processes with same PID get same pseudorandom data ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19227> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com