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

Date: Tue, 05 Sep 2006 15:13:40 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=19154

User: sahlberg
Date: 2006/09/05 03:13 PM

Log:
 fix for bug 1054
 
 there were instances where the function dissect_nt_sid() would not fill in the return pointer for the sid string
 causing callers that rely on that this string will ALWAYS be assigned try to access and g_free() an uninitialized pointer.
 
 dissect_nt_sid() should be changed to use and return ep allocated memory instead of gmalloced memory

Directory: /trunk/epan/dissectors/
  Changes    Path                       Action
  +11 -0     packet-windows-common.c    Modified