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

avro: Unmarshal should fail on extra data #41

Open
rogpeppe opened this issue Jan 24, 2020 · 2 comments
Open

avro: Unmarshal should fail on extra data #41

rogpeppe opened this issue Jan 24, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@rogpeppe
Copy link
Contributor

If there's more data in the buffer than needed, Unmarshal will succeed, but it should probably fail.

@rogpeppe rogpeppe added the bug Something isn't working label Jan 24, 2020
@sixstone-qq
Copy link
Contributor

@rogpeppe could you specify better the context of the issue and reopen it in this case 🙏 ? Thanks a lot!

@rogpeppe
Copy link
Contributor Author

rogpeppe commented Jul 8, 2020

Here's an example of when if succeeds but should probably fail: https://play.golang.org/p/T2Uict2TvqE

I can't reopen the issue because I don't have write access to the repo :)

@sixstone-qq sixstone-qq reopened this Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants