shadowsocks-go icon indicating copy to clipboard operation
shadowsocks-go copied to clipboard

数组切割错误runtime error: slice bounds out of range

Open plbin97 opened this issue 5 years ago • 2 comments

2019/05/03 11:36:43 error getting request 112.66.98.115:28849 162.209.140.19:8202 addr type 9 not supported 2019/05/03 11:36:43 error getting request 223.104.4.48:6493 162.209.140.19:29102 read tcp 162.209.140.19:29102->223.104.4.48:6493: read: connection reset by peer panic: runtime error: slice bounds out of range

goroutine 19839 [running]: github.com/shadowsocks/shadowsocks-go/shadowsocks.handleUDPConnection(0xc004f47e00, 0x4, 0x5b7200, 0xc00b14f7a0, 0xc0063f0600, 0x100c, 0x100c, 0xc004f47e40) /home/olo/Work/Env/GoWork/src/github.com/shadowsocks/shadowsocks-go/shadowsocks/udprelay.go:232 +0xdab created by github.com/shadowsocks/shadowsocks-go/shadowsocks.ReadAndHandleUDPReq /home/olo/Work/Env/GoWork/src/github.com/shadowsocks/shadowsocks-go/shadowsocks/udprelay.go:256 +0xf1

plbin97 avatar May 03 '19 03:05 plbin97

我解决了这个问题 https://github.com/plbin97/shadowsocks-go 这里

plbin97 avatar May 03 '19 22:05 plbin97

我解决了这个问题 https://github.com/plbin97/shadowsocks-go 这里

you can put up a PR to fix this issue

arthurkiller avatar May 04 '19 15:05 arthurkiller