Skip to content
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

Fix OverflowError with empty list and large multiplier #2597

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

correctmost
Copy link
Contributor

Type of Changes

Type
🐛 Bug fix

Description

This regressed in dfe1ccc (#2596).

I missed this in my first patch, but noticed it later while retesting with OSS-Fuzz corpus files.

@DanielNoord DanielNoord enabled auto-merge (rebase) October 2, 2024 15:00
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.19%. Comparing base (dfe1ccc) to head (091c0d2).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2597   +/-   ##
=======================================
  Coverage   93.19%   93.19%           
=======================================
  Files          93       93           
  Lines       11055    11055           
=======================================
  Hits        10303    10303           
  Misses        752      752           
Flag Coverage Δ
linux 93.08% <100.00%> (ø)
pypy 93.19% <100.00%> (ø)
windows 93.17% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
astroid/protocols.py 89.85% <100.00%> (ø)

@DanielNoord DanielNoord merged commit d174ca2 into pylint-dev:main Oct 2, 2024
20 checks passed
@correctmost correctmost deleted the cm/fix-overflowerror branch October 2, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants