Wireshark-commits: [Wireshark-commits] rev 27663: /trunk/epan/ /trunk/epan/dissectors/: packet-user

Date: Sun, 08 Mar 2009 22:31:29 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=27663

User: stig
Date: 2009/03/08 03:31 PM

Log:
 Don't use ep_strndup() to copy the uat protocol name, because the value
 can be free'ed before we use it.  Allocate the string like we do for
 other strings and copy/free the memory in the appropriate copy_cb/free_cb
 functions.  This is only used in the DLT_USER table yet.

Directory: /trunk/epan/dissectors/
  Changes    Path                   Action
  +21 -3     packet-user_encap.c    Modified

Directory: /trunk/epan/
  Changes    Path          Action
  +1 -1      uat.h         Modified