mirror of
https://github.com/40t/go-sniffer.git
synced 2025-08-07 12:25:23 +08:00
fix mysql packet nil pointer
This commit is contained in:
@@ -260,6 +260,7 @@ func (stm *stream) resolveClientPacket(payload []byte, seq int) {
|
||||
serverPacket := stm.findStmtPacket(stm.packets, seq+1)
|
||||
if serverPacket == nil {
|
||||
log.Println("ERR : Not found stm packet")
|
||||
return
|
||||
}
|
||||
|
||||
//fetch stm id
|
||||
|
Reference in New Issue
Block a user