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
a4d78362
Kaydet (Commit)
a4d78362
authored
Nis 01, 2019
tarafından
Brad Larsen
Kaydeden (comit)
Guido van Rossum
Nis 01, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-36495: Fix two out-of-bounds array reads (GH-12641)
Research and fix by @bradlarsen.
üst
10654c19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ast.c
Python/ast.c
+2
-2
No files found.
Python/ast.c
Dosyayı görüntüle @
a4d78362
...
@@ -1400,7 +1400,7 @@ handle_keywordonly_args(struct compiling *c, const node *n, int start,
...
@@ -1400,7 +1400,7 @@ handle_keywordonly_args(struct compiling *c, const node *n, int start,
goto
error
;
goto
error
;
asdl_seq_SET
(
kwonlyargs
,
j
++
,
arg
);
asdl_seq_SET
(
kwonlyargs
,
j
++
,
arg
);
i
+=
1
;
/* the name */
i
+=
1
;
/* the name */
if
(
TYPE
(
CHILD
(
n
,
i
))
==
COMMA
)
if
(
i
<
NCH
(
n
)
&&
TYPE
(
CHILD
(
n
,
i
))
==
COMMA
)
i
+=
1
;
/* the comma, if present */
i
+=
1
;
/* the comma, if present */
break
;
break
;
case
TYPE_COMMENT
:
case
TYPE_COMMENT
:
...
@@ -1599,7 +1599,7 @@ ast_for_arguments(struct compiling *c, const node *n)
...
@@ -1599,7 +1599,7 @@ ast_for_arguments(struct compiling *c, const node *n)
if
(
!
kwarg
)
if
(
!
kwarg
)
return
NULL
;
return
NULL
;
i
+=
2
;
/* the double star and the name */
i
+=
2
;
/* the double star and the name */
if
(
TYPE
(
CHILD
(
n
,
i
))
==
COMMA
)
if
(
i
<
NCH
(
n
)
&&
TYPE
(
CHILD
(
n
,
i
))
==
COMMA
)
i
+=
1
;
/* the comma, if present */
i
+=
1
;
/* the comma, if present */
break
;
break
;
case
TYPE_COMMENT
:
case
TYPE_COMMENT
:
...
...
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