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

"slice bounds out of range" error possible if byte slice is too small #31

Open
discentem opened this issue Aug 12, 2020 · 1 comment
Open

Comments

@discentem
Copy link

discentem commented Aug 12, 2020

Should we return an explicit error is byte slice is too small for this check?

if string(data[:7]) == "bplist0" {

@jessepeterson
Copy link
Contributor

Didn't see this issue. But drafted up #33 in response.

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

No branches or pull requests

2 participants