Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cfa4796

Browse files
committed
Issue #18747: Fix spelling errors in my commit message and comments,
thanks to Vajrasky Kok for proof-reading.
2 parents 2769d44 + 61636e7 commit cfa4796

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Misc/NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

Modules/_ssl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)