Closed tiran closed 9 years ago
CPython keeps a persistent fd to /dev/urandom, too. It also keeps the fd's st_dev and st_ino around and validates both before it reads from the fd. The extra check prevents tampering with the fd.
http://bugs.python.org/issue21207
:+1:
This issue is no longer relevant since we've landed #2073
CPython keeps a persistent fd to /dev/urandom, too. It also keeps the fd's st_dev and st_ino around and validates both before it reads from the fd. The extra check prevents tampering with the fd.
http://bugs.python.org/issue21207