diff --git a/plugSrc/mysql/build/entry.go b/plugSrc/mysql/build/entry.go index 12c0895..d710fca 100644 --- a/plugSrc/mysql/build/entry.go +++ b/plugSrc/mysql/build/entry.go @@ -216,6 +216,9 @@ func (stm *stream) findStmtPacket (srv chan *packet, seq int) *packet { func (stm *stream) resolveServerPacket(payload []byte, seq int) { var msg = "" + if len(payload) == 0 { + return + } switch payload[0] { case 0xff: