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

panic: runtime error: index out of range #40

Open
rc452860 opened this issue Feb 8, 2019 · 0 comments
Open

panic: runtime error: index out of range #40

rc452860 opened this issue Feb 8, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@rc452860
Copy link
Owner

rc452860 commented Feb 8, 2019

panic: runtime error: index out of range

goroutine 19559173 [running]:
crypto/cipher.fastXORBytes(0xc42478d000, 0xc, 0xc, 0xc425406ff0, 0x766, 0xeff3, 0xc42577c740, 0x10, 0x10, 0xc42577c760)
/home/travis/.gimme/versions/go1.10.7.linux.amd64/src/crypto/cipher/xor.go:26 +0x12f
crypto/cipher.xorBytes(0xc42478d000, 0xc, 0xc, 0xc425406ff0, 0x766, 0xeff3, 0xc42577c740, 0x10, 0x10, 0x10)
/home/travis/.gimme/versions/go1.10.7.linux.amd64/src/crypto/cipher/xor.go:60 +0x8e
crypto/cipher.(*cfb).XORKeyStream(0xc4213da000, 0xc42478d000, 0xc, 0xc, 0xc425406ff0, 0x766, 0xeff3)
/home/travis/.gimme/versions/go1.10.7.linux.amd64/src/crypto/cipher/cfb.go:32 +0x1c2
github.com/rc452860/vnet/ciphers/ssstream.(*streamPacket).WriteTo(0xc42d4864e0, 0xc425406000, 0x1756, 0xffe3, 0x8faae0, 0xc421114f30, 0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/rc452860/vnet/ciphers/ssstream/cipher_packet.go:58 +0x204
github.com/rc452860/vnet/proxy/server.timedCopy(0x8fde60, 0xc42d4864e0, 0x8faae0, 0xc421114f30, 0x8fdfe0, 0xc42d207388, 0xb2d05e00, 0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/rc452860/vnet/proxy/server/shadowsocks.go:488 +0x4f5
github.com/rc452860/vnet/proxy/server.(*natmap).Add.func1(0x8fde60, 0xc42d4864e0, 0x8faae0, 0xc421114f30, 0x8fdfe0, 0xc42d207388, 0xc429a5a180, 0x0)
/home/travis/gopath/src/github.com/rc452860/vnet/proxy/server/shadowsocks.go:464 +0x85
created by github.com/rc452860/vnet/proxy/server.(*natmap).Add
/home/travis/gopath/src/github.com/rc452860/vnet/proxy/server/shadowsocks.go:463 +0xd1

@rc452860 rc452860 added the bug Something isn't working label Feb 8, 2019
rc452860 pushed a commit that referenced this issue Feb 10, 2019
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

1 participant