mirror of
				https://github.com/40t/go-sniffer.git
				synced 2025-11-04 19:16:25 +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)
 | 
							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