-
Notifications
You must be signed in to change notification settings - Fork 95
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
ipld/unixfs/hamt: catch panic in walkChildren #393
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
@@ Coverage Diff @@
## main #393 +/- ##
==========================================
+ Coverage 60.18% 60.20% +0.01%
==========================================
Files 241 241
Lines 30707 30712 +5
==========================================
+ Hits 18482 18490 +8
+ Misses 10574 10569 -5
- Partials 1651 1653 +2
|
2e58e9d
to
96312d1
Compare
96312d1
to
ed0a5c7
Compare
NVM this does not fix any issues, it prints debug info when that happen, I don't see why printf debugs should be commited ? |
@lidel Even though the problem should not happen, do we still want this change in case there are any existing HAMTs that would cause the panic? If not, then please close this PR. |
* ipld/unixfs/hamt: catch panic in walkChildren * Add test for nil link and shard * rename test * Update CHANGELOG.md --------- Co-authored-by: Lucas Molas <[email protected]> Co-authored-by: Andrew Gillis <[email protected]>
From ipfs/go-unixfs#123