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
25ff287d
Kaydet (Commit)
25ff287d
authored
Şub 04, 2014
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #20515: Fix NULL pointer dereference introduced by issue #20368
CID 1167595
üst
3b55f0c6
d33491ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
NEWS
Misc/NEWS
+2
-0
_tkinter.c
Modules/_tkinter.c
+3
-0
No files found.
Misc/NEWS
Dosyayı görüntüle @
25ff287d
...
@@ -24,6 +24,8 @@ Core and Builtins
...
@@ -24,6 +24,8 @@ Core and Builtins
Library
Library
-------
-------
- Issue #20515: Fix NULL pointer dereference introduced by issue #20368.
- Issue #19186: Restore namespacing of expat symbols inside the pyexpat module.
- Issue #19186: Restore namespacing of expat symbols inside the pyexpat module.
- Issue #20053: ensurepip (and hence venv) are no longer affected by the
- Issue #20053: ensurepip (and hence venv) are no longer affected by the
...
...
Modules/_tkinter.c
Dosyayı görüntüle @
25ff287d
...
@@ -1397,6 +1397,9 @@ varname_converter(PyObject *in, void *_out)
...
@@ -1397,6 +1397,9 @@ varname_converter(PyObject *in, void *_out)
if
(
PyUnicode_Check
(
in
))
{
if
(
PyUnicode_Check
(
in
))
{
Py_ssize_t
size
;
Py_ssize_t
size
;
s
=
PyUnicode_AsUTF8AndSize
(
in
,
&
size
);
s
=
PyUnicode_AsUTF8AndSize
(
in
,
&
size
);
if
(
s
==
NULL
)
{
return
0
;
}
if
(
size
>
INT_MAX
)
{
if
(
size
>
INT_MAX
)
{
PyErr_SetString
(
PyExc_OverflowError
,
"string is too long"
);
PyErr_SetString
(
PyExc_OverflowError
,
"string is too long"
);
return
0
;
return
0
;
...
...
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