Wireshark-commits: [Wireshark-commits] rev 39483: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Thu, 20 Oct 2011 01:55:04 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=39483

User: morriss
Date: 2011/10/19 06:55 PM

Log:
 From András Veres-Szentkirályi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6426 :
 
 The current MySQL dissector ignored the execute parameters as metadata is
 needed from previous packets to decode the fields. I added the necessary code
 to store these in conn_data and developed dissector for all fields I could
 reproduce on the network.
 
 This also fixes a memory leak by moving the stmts structure (the pointer to
 which is stored in se_allocated memory) into se_trees.
 
 From me: use se_tree_create_non_persistent() so the entire tree is forgotten when
 the se_ memory goes away.  Also some reformatting.

Directory: /trunk/epan/dissectors/
  Changes    Path              Action
  +424 -20   packet-mysql.c    Modified