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

FuzzUnmarshal in the package github.com/shogo82148/go-cbor failed #109

Conversation

github-actions[bot]
Copy link
Contributor

go test -run=FuzzUnmarshal/ed408ebfbdaa2903 github.com/shogo82148/go-cbor failed with the following output:

--- FAIL: FuzzUnmarshal (0.00s)
    --- FAIL: FuzzUnmarshal/ed408ebfbdaa2903 (0.00s)
        fuzz_test.go:57: c58230c249303030303030303030 -> c5822cc249030303030303030303: Unmarshal() mismatch: "6.78189120356968809412e+15" != "6.7818912035696880941e+15"
FAIL
FAIL	github.com/shogo82148/go-cbor	0.005s
FAIL


This pull request is generated by actions-go-fuzz.

See the log.

…go-cbor.

`go test -run=FuzzUnmarshal/ed408ebfbdaa2903 github.com/shogo82148/go-cbor` failed with the following output:

```
--- FAIL: FuzzUnmarshal (0.00s)
    --- FAIL: FuzzUnmarshal/ed408ebfbdaa2903 (0.00s)
        fuzz_test.go:57: c58230c249303030303030303030 -> c5822cc249030303030303030303: Unmarshal() mismatch: "6.78189120356968809412e+15" != "6.7818912035696880941e+15"
FAIL
FAIL	github.com/shogo82148/go-cbor	0.005s
FAIL

```

This fuzz data is generated by [actions-go-fuzz](https://github.com/shogo82148/actions-go-fuzz).
@shogo82148
Copy link
Owner

C5                             # tag(5)
   82                          # array(2)
      30                       # negative(16)
      C2                       # tag(2)
         49                    # bytes(9)
            303030303030303030 # "000000000"

@shogo82148
Copy link
Owner

C5                             # tag(5)
   82                          # array(2)
      2C                       # negative(12)
      C2                       # tag(2)
         49                    # bytes(9)
            030303030303030303 # "\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0003"

@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (3233c4c) 78.81% compared to head (f910d35) 79.76%.
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
+ Coverage   78.81%   79.76%   +0.94%     
==========================================
  Files           7        7              
  Lines        2941     2960      +19     
==========================================
+ Hits         2318     2361      +43     
+ Misses        470      444      -26     
- Partials      153      155       +2     
Flag Coverage Δ
1.21 79.76% <ø> (+0.94%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shogo82148 shogo82148 merged commit 9b2fadc into main Oct 3, 2023
8 checks passed
@shogo82148 shogo82148 deleted the actions-go-fuzz/github.com/shogo82148/go-cbor/FuzzUnmarshal/ed408ebfbdaa2903 branch October 3, 2023 13:46
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.

1 participant