Skip to content

Comments

fix(unixfs): int check#936

Merged
gammazero merged 2 commits intomainfrom
fix-int-check
Jun 3, 2025
Merged

fix(unixfs): int check#936
gammazero merged 2 commits intomainfrom
fix-int-check

Conversation

@lidel
Copy link
Member

@lidel lidel commented May 28, 2025

The #922 triggered some AI checks:
https://github.com/ipfs/boxo/security/code-scanning/7

I don't think this is a problem irl, due to code in unixfs/mod/dagmodifier.go being related to single raw block (which has limits), but adding this extra check there just in case and to avoid linters bringing this up in the future.

@ipfs/kubo-maintainers – thoughts?

The #922 triggered some AI checks:
https://github.com/ipfs/boxo/security/code-scanning/7

I don't think this is a problem irl, due to code in
`unixfs/mod/dagmodifier.go` being related to single block (which have
limits), but adding this extra check there just in case and to avoid
linters bringing this up in the future.
@lidel lidel marked this pull request as ready for review May 28, 2025 18:27
@lidel lidel requested a review from a team as a code owner May 28, 2025 18:27
@gammazero
Copy link
Contributor

@lidel This is probably a good thing to have in case some day the limits around a single raw block disappear. ...and to stop linters from pestering us.

@gammazero gammazero merged commit 15f7766 into main Jun 3, 2025
14 checks passed
@gammazero gammazero deleted the fix-int-check branch June 3, 2025 14:17
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.

2 participants