Skip to content

[3.8] gh-95778: CVE-2020-10735: Prevent DoS by very large int() #96503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Sep 5, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Manually add new field to abi file
  • Loading branch information
tiran committed Sep 1, 2022
commit 75bbbbffdf29c52dd502eec2c53a3da154d04f7c
5 changes: 4 additions & 1 deletion Doc/data/python3.8.abi
Original file line number Diff line number Diff line change
Expand Up @@ -2381,7 +2381,7 @@
</data-member>
</class-decl>
<pointer-type-def type-id='type-id-55' size-in-bits='64' id='type-id-56'/>
<class-decl name='_is' size-in-bits='21696' is-struct='yes' visibility='default' filepath='./Include/internal/pycore_pystate.h' line='67' column='1' id='type-id-66'>
<class-decl name='_is' size-in-bits='21760' is-struct='yes' visibility='default' filepath='./Include/internal/pycore_pystate.h' line='67' column='1' id='type-id-66'>
<data-member access='public' layout-offset-in-bits='0'>
<var-decl name='next' type-id='type-id-67' visibility='default' filepath='./Include/internal/pycore_pystate.h' line='69' column='1'/>
</data-member>
Expand Down Expand Up @@ -2490,6 +2490,9 @@
<data-member access='public' layout-offset-in-bits='21632'>
<var-decl name='audit_hooks' type-id='type-id-60' visibility='default' filepath='./Include/internal/pycore_pystate.h' line='137' column='1'/>
</data-member>
<data-member access='public' layout-offset-in-bits='21696'>
<var-decl name='int_max_str_digits' type-id='type-id-7' visibility='default' filepath='./Include/internal/pycore_pystate.h' line='139' column='1'/>
</data-member>
</class-decl>
<pointer-type-def type-id='type-id-66' size-in-bits='64' id='type-id-67'/>
<typedef-decl name='__int64_t' type-id='type-id-36' filepath='/usr/include/x86_64-linux-gnu/bits/types.h' line='44' column='1' id='type-id-77'/>
Expand Down