mirror of
https://github.com/40t/go-sniffer.git
synced 2025-08-21 16:17:32 +08:00
Merge pull request #11 from Chyroc/fix-mysql-server-packet-nil-pointer
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)
|
serverPacket := stm.findStmtPacket(stm.packets, seq+1)
|
||||||
if serverPacket == nil {
|
if serverPacket == nil {
|
||||||
log.Println("ERR : Not found stm packet")
|
log.Println("ERR : Not found stm packet")
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
//fetch stm id
|
//fetch stm id
|
||||||
|
Reference in New Issue
Block a user