You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
内核版本:Centos7.9 3.10.0-1160.119.1.el7.x86_64
数组越界了
以下为详细日志:
[root@yinnuo ~]# ./kyanos stat
ERRO[0000] Not enough bytes to dissect int param.
ERRO[0000] Not enough bytes to dissect int param.
ERRO[0000] Not enough bytes to dissect int param.
ERRO[0000] Not enough bytes to dissect int param.
ERRO[0005] Not enough bytes to dissect int param.
ERRO[0005] Not enough bytes to dissect int param.
ERRO[0005] Not enough bytes to dissect int param.
ERRO[0005] Not enough bytes to dissect int param.
ERRO[0005] Not enough bytes to dissect int param.
ERRO[0005] Not enough bytes to dissect int param.
ERRO[0005] Not enough bytes to dissect int param.
ERRO[0005] Not enough bytes to dissect int param.
panic: runtime error: slice bounds out of range [:496] with length 448
goroutine 15 [running]:
kyanos/agent/protocol/mysql.DissectStringParam({0xc0000d6000, 0x1c0}, 0xc000681728, 0xc000681738)
/home/runner/work/kyanos/kyanos/agent/protocol/mysql/utils.go:196 +0xaa
kyanos/agent/protocol/mysql.ProcessTextResultsetRowPacket(0xc0000b5f40, 0x948d60?, 0xc0006818c8?)
/home/runner/work/kyanos/kyanos/agent/protocol/mysql/handler.go:290 +0x74
kyanos/agent/protocol/mysql.HandleResultsetResponse(0xc0000b5b80, 0x0, 0x0, {0xc0000d4300, 0xe, 0x18}, 0xc0006819d0)
/home/runner/work/kyanos/kyanos/agent/protocol/mysql/handler.go:239 +0x6db
kyanos/agent/protocol/mysql.processQuery(0xc0000b5b80, {0xc0000d4300, 0xe, 0x18}, 0xc0006819d0)
/home/runner/work/kyanos/kyanos/agent/protocol/mysql/handler.go:115 +0x1dd
kyanos/agent/protocol/mysql.(*MysqlParser).processPackets(0xc0003100d8?, 0xc000310100?, {0xc0000d4300?, 0x4d288f?, 0xc000681a48?})
/home/runner/work/kyanos/kyanos/agent/protocol/mysql/mysql.go:190 +0xed
kyanos/agent/protocol/mysql.(*MysqlParser).Match(0xc0000ae270, 0xc0003100d8, 0xc000310100)
/home/runner/work/kyanos/kyanos/agent/protocol/mysql/mysql.go:68 +0xf3
kyanos/agent/conn.(*Connection4).OnSyscallEvent(0xc000310000, {0xc00002dc00?, 0x65d?, 0xc000681f88?}, 0xc00028a420, 0xc0000a81e0)
/home/runner/work/kyanos/kyanos/agent/conn/conntrack.go:331 +0x19c
kyanos/agent/conn.(*Processor).run(0xc000149880)
/home/runner/work/kyanos/kyanos/agent/conn/processor.go:217 +0x698
created by kyanos/agent/conn.InitProcessorManager in goroutine 1
/home/runner/work/kyanos/kyanos/agent/conn/processor.go:31 +0x157
The text was updated successfully, but these errors were encountered:
Describe the bug
内核版本:Centos7.9 3.10.0-1160.119.1.el7.x86_64
数组越界了
以下为详细日志:
The text was updated successfully, but these errors were encountered: