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 subtraction overflow #21871

Merged
merged 1 commit into from
Dec 14, 2021
Merged

Conversation

carllin
Copy link
Contributor

@carllin carllin commented Dec 14, 2021

Problem

AncestorHashesService can overflow on bad response

Summary of Changes

Fixes #

@carllin carllin added the v1.9 label Dec 14, 2021
@carllin carllin requested a review from AshwinSekar December 14, 2021 06:04
AshwinSekar
AshwinSekar previously approved these changes Dec 14, 2021
@mergify mergify bot dismissed AshwinSekar’s stale review December 14, 2021 08:13

Pull request has been modified.

@codecov
Copy link

codecov bot commented Dec 14, 2021

Codecov Report

Merging #21871 (62807e9) into master (a400b5e) will decrease coverage by 0.0%.
The diff coverage is 78.4%.

@@            Coverage Diff            @@
##           master   #21871     +/-   ##
=========================================
- Coverage    81.3%    81.2%   -0.1%     
=========================================
  Files         516      516             
  Lines      144033   144225    +192     
=========================================
+ Hits       117139   117249    +110     
- Misses      26894    26976     +82     

@carllin carllin merged commit cb395ab into solana-labs:master Dec 14, 2021
mergify bot pushed a commit that referenced this pull request Dec 14, 2021
(cherry picked from commit cb395ab)
mergify bot added a commit that referenced this pull request Dec 14, 2021
(cherry picked from commit cb395ab)

Co-authored-by: carllin <carl@solana.com>
@brooksprumo brooksprumo mentioned this pull request Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants