Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Fix CPI recursion depth#17659

Merged
Lichtso merged 2 commits intosolana-labs:masterfrom
jackcmay:fix-cpi-recursion-depth
Jun 2, 2021
Merged

Fix CPI recursion depth#17659
Lichtso merged 2 commits intosolana-labs:masterfrom
jackcmay:fix-cpi-recursion-depth

Conversation

@jackcmay
Copy link
Copy Markdown
Contributor

@jackcmay jackcmay commented Jun 2, 2021

Problem

#15410 changed the call depth behavior on master and v1.7 branches.

Summary of Changes

Fixes #17650

@mvines mvines added the v1.7 label Jun 2, 2021
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 2, 2021

Codecov Report

Merging #17659 (747aa0c) into master (1b7f877) will increase coverage by 0.0%.
The diff coverage is 80.0%.

@@           Coverage Diff           @@
##           master   #17659   +/-   ##
=======================================
  Coverage    82.7%    82.7%           
=======================================
  Files         430      430           
  Lines      120354   120357    +3     
=======================================
+ Hits        99590    99595    +5     
+ Misses      20764    20762    -2     

@Lichtso Lichtso self-requested a review June 2, 2021 09:03
@Lichtso Lichtso merged commit 80e5b24 into solana-labs:master Jun 2, 2021
mergify Bot pushed a commit that referenced this pull request Jun 2, 2021
* Fix CPI recursion depth

(cherry picked from commit 80e5b24)
mergify Bot added a commit that referenced this pull request Jun 2, 2021
* Fix CPI recursion depth

(cherry picked from commit 80e5b24)

Co-authored-by: Jack May <jack@solana.com>
@jackcmay jackcmay deleted the fix-cpi-recursion-depth branch June 2, 2021 18:59
@brooksprumo brooksprumo mentioned this pull request Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Program self reentrancy is capped at depth 1

3 participants