-
Notifications
You must be signed in to change notification settings - Fork 279
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
go-fuzz-build fails for cuelang.org with 'failed to parse int literal ... value out of range' for very large number #331
Comments
Is there a literal 1000000000000000000000000000000000000000000000000000000000000000 in your source code? Is it part of a larger constant expression? Can you share the relevant line of code? |
None in my code. https://github.com/naveensrinivasan/cosign/blob/naveen/feat/fuzz-sget/test/fuzz/sget/fuzz.go Thanks |
How about in your code's dependencies? We might want to add position information to these errors (cc @thepudds). |
TBH! I don't know which one has. If I knew I would probably include that in the exclude list. |
Hi @naveensrinivasan, just a quick comment for now, but one way to check your dependencies is to do In this case, it looks like it is coming from your CUE dependency?
|
Thanks, is there any way I can ignore this? |
You can try:
|
Ran into the same issue but with
|
Given that this is only used to generate literals, the right answer here, or at least the expedient answer, is to simply ignore the error if it occurs and keep ongoing. It should be a very simple PR; I'm willing to review it if anyone wants to send it. |
The go-fuzz-build fails with this.
failed to parse int literal '1000000000000000000000000000000000000000000000000000000000000000': strconv.ParseUint: parsing "1000000000000000000000000000000000000000000000000000000000000000": value out of range
I am guessing probably in this line.
go-fuzz/go-fuzz-build/cover.go
Line 427 in b1f3d6f
Any idea as to what could be the issue and how to avoid it?
The text was updated successfully, but these errors were encountered: