jbenet / jbenet/go-msgio

panic: runtime error: slice bounds out of range

Open
#7 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
14
Forks
4
PR merge metrics
No merged PRs in 30d

Description

```
oh.. one of my nodes paniced. log: QmbJw2mb4Jh94EUcHhmYvnVh1tjre73gqHDLYtqrdA6yeg src: http://gotools.org/github.com/jbenet/go-msgio#msgio-go-L189 cc @whyrusleeping @jbenet
not sure how that makes sense.. length > len(msg) should have caught that
```

links for the layz:
- [log output](http://gateway.ipfs.io/ipfs/QmbJw2mb4Jh94EUcHhmYvnVh1tjre73gqHDLYtqrdA6yeg)
- src: http://gotools.org/github.com/jbenet/go-msgio#msgio-go-L189

The only way I can make sense of this, is if msgio returned a negative length like here:
https://play.golang.org/p/q6-mmg5_EI

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.