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
cfa47962
Commit
cfa47962
authored
Aug 25, 2013
by
Christian Heimes
Browse files
Options
Browse Files
Download
Plain Diff
Issue #18747: Fix spelling errors in my commit message and comments,
thanks to Vajrasky Kok for proof-reading.
parents
2769d448
61636e71
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 @
cfa47962
...
@@ -66,7 +66,7 @@ Library
...
@@ -66,7 +66,7 @@ Library
in the tkinter module.
in the tkinter module.
- Issue #18747: Re-seed OpenSSL'
s
pseudo
-
random
number
generator
after
fork
.
- 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
.
and
some
stack
data
.
-
Issue
#
8865
:
Concurrent
invocation
of
select
.
poll
.
poll
()
now
raises
a
-
Issue
#
8865
:
Concurrent
invocation
of
select
.
poll
.
poll
()
now
raises
a
...
...
Modules/_ssl.c
View file @
cfa47962
...
@@ -2944,7 +2944,7 @@ fails or if it does not provide enough data to seed PRNG.");
...
@@ -2944,7 +2944,7 @@ fails or if it does not provide enough data to seed PRNG.");
/* Seed OpenSSL's PRNG at fork(), http://bugs.python.org/issue18747
/* Seed OpenSSL's PRNG at fork(), http://bugs.python.org/issue18747
*
*
* The parent handler seeds the PRNG from pseudo-random data like pid, the
* 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
* The array contains stack variables that are impossible to predict
* on most systems, e.g. function return address (subject to ASLR), the
* on most systems, e.g. function return address (subject to ASLR), the
* stack protection canary and automatic variables.
* stack protection canary and automatic variables.
...
@@ -2953,7 +2953,7 @@ fails or if it does not provide enough data to seed PRNG.");
...
@@ -2953,7 +2953,7 @@ fails or if it does not provide enough data to seed PRNG.");
* Note:
* Note:
* The code uses pthread_atfork() until Python has a proper atfork API. The
* 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
* 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.
* 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