Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
b20cb33f
Kaydet (Commit)
b20cb33f
authored
Eyl 06, 2006
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bug #1551427: fix a wrong NULL pointer check in the win32 version
of os.urandom(). (backport from rev. 51762)
üst
f3ce2ab2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
NEWS
Misc/NEWS
+3
-0
posixmodule.c
Modules/posixmodule.c
+1
-1
No files found.
Misc/NEWS
Dosyayı görüntüle @
b20cb33f
...
@@ -51,6 +51,9 @@ Library
...
@@ -51,6 +51,9 @@ Library
Extension
Modules
Extension
Modules
-----------------
-----------------
-
Bug
#
1551427
:
fix
a
wrong
NULL
pointer
check
in
the
win32
version
of
os
.
urandom
().
-
Bug
#
1548092
:
fix
curses
.
tparm
seg
fault
on
invalid
input
.
-
Bug
#
1548092
:
fix
curses
.
tparm
seg
fault
on
invalid
input
.
-
Bug
#
1550714
:
fix
SystemError
from
itertools
.
tee
on
negative
value
for
n
.
-
Bug
#
1550714
:
fix
SystemError
from
itertools
.
tee
on
negative
value
for
n
.
...
...
Modules/posixmodule.c
Dosyayı görüntüle @
b20cb33f
...
@@ -7877,7 +7877,7 @@ win32_urandom(PyObject *self, PyObject *args)
...
@@ -7877,7 +7877,7 @@ win32_urandom(PyObject *self, PyObject *args)
pCryptGenRandom
=
(
CRYPTGENRANDOM
)
GetProcAddress
(
pCryptGenRandom
=
(
CRYPTGENRANDOM
)
GetProcAddress
(
hAdvAPI32
,
"CryptGenRandom"
);
hAdvAPI32
,
"CryptGenRandom"
);
if
(
pCrypt
AcquireContext
==
NULL
)
if
(
pCrypt
GenRandom
==
NULL
)
return
PyErr_Format
(
PyExc_NotImplementedError
,
return
PyErr_Format
(
PyExc_NotImplementedError
,
"CryptGenRandom not found"
);
"CryptGenRandom not found"
);
...
...
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