Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
479d128a
Commit
479d128a
authored
Aug 25, 2013
by
Christian Heimes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #18747: Fix spelling errors in my commit message and comments,
thanks to Vajrasky Kok for proof-reading.
parent
103c9686
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Misc/NEWS
Misc/NEWS
+1
-1
Modules/_ssl.c
Modules/_ssl.c
+2
-2
No files found.
Misc/NEWS
View file @
479d128a
...
...
@@ -84,7 +84,7 @@ Library
in
the
tkinter
module
.
-
Issue
#
18747
:
Re
-
seed
OpenSSL
's pseudo-random number generator after fork.
A pthread_atfork() parent handler is used to seed
ed
the PRNG with pid, time
A pthread_atfork() parent handler is used to seed the PRNG with pid, time
and some stack data.
- Issue #8865: Concurrent invocation of select.poll.poll() now raises a
...
...
Modules/_ssl.c
View file @
479d128a
...
...
@@ -2586,7 +2586,7 @@ fails or if it does not provide enough data to seed PRNG.");
/* Seed OpenSSL's PRNG at fork(), http://bugs.python.org/issue18747
*
* The parent handler seeds the PRNG from pseudo-random data like pid, the
* current time (miliseconds or seconds) and an uninitialized arry.
* current time (miliseconds or seconds) and an uninitialized arr
a
y.
* The array contains stack variables that are impossible to predict
* on most systems, e.g. function return address (subject to ASLR), the
* stack protection canary and automatic variables.
...
...
@@ -2595,7 +2595,7 @@ fails or if it does not provide enough data to seed PRNG.");
* Note:
* The code uses pthread_atfork() until Python has a proper atfork API. The
* handlers are not removed from the child process. A parent handler is used
* instead of a child handler because fork() is suppose to be async-signal
* instead of a child handler because fork() is suppose
d
to be async-signal
* safe but the handler calls unsafe functions.
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment