Message291950
On Linux creating a temporary file or directory usually consumes only one random name. But due to a bug on Windows (issue22107) it can consume up to TMP_MAX (2147483647 on Windows) names when called with read-only directory. Generating every name consumes about 16 random bytes. This can exhaust the system entropy and slowdown other applications. |
|
Date |
User |
Action |
Args |
2017-04-20 06:37:55 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, pitrou, vstinner |
2017-04-20 06:37:55 | serhiy.storchaka | set | messageid: <1492670275.69.0.707649796202.issue30030@psf.upfronthosting.co.za> |
2017-04-20 06:37:55 | serhiy.storchaka | link | issue30030 messages |
2017-04-20 06:37:55 | serhiy.storchaka | create | |
|