File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ Library
6666 in the tkinter module.
6767
6868- Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.
69- A pthread_atfork() parent handler is used to seeded the PRNG with pid, time
69+ A pthread_atfork() parent handler is used to seed the PRNG with pid, time
7070 and some stack data.
7171
7272- Issue #8865: Concurrent invocation of select.poll.poll() now raises a
Original file line number Diff line number Diff line change @@ -2944,7 +2944,7 @@ fails or if it does not provide enough data to seed PRNG.");
29442944/* Seed OpenSSL's PRNG at fork(), http://bugs.python.org/issue18747
29452945 *
29462946 * The parent handler seeds the PRNG from pseudo-random data like pid, the
2947- * current time (miliseconds or seconds) and an uninitialized arry .
2947+ * current time (miliseconds or seconds) and an uninitialized array .
29482948 * The array contains stack variables that are impossible to predict
29492949 * on most systems, e.g. function return address (subject to ASLR), the
29502950 * stack protection canary and automatic variables.
@@ -2953,7 +2953,7 @@ fails or if it does not provide enough data to seed PRNG.");
29532953 * Note:
29542954 * The code uses pthread_atfork() until Python has a proper atfork API. The
29552955 * handlers are not removed from the child process. A parent handler is used
2956- * instead of a child handler because fork() is suppose to be async-signal
2956+ * instead of a child handler because fork() is supposed to be async-signal
29572957 * safe but the handler calls unsafe functions.
29582958 */
29592959
You can’t perform that action at this time.
0 commit comments