Wireshark-commits: [Wireshark-commits] rev 49379: /trunk/epan/ /trunk/epan/: tvbuff.c

Date: Fri, 17 May 2013 14:38:37 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=49379

User: morriss
Date: 2013/05/17 07:38 AM

Log:
 As suggested by Jakub: don't ep_alloc buffers for TVBs, use g_malloc()'d
 memory with tvb-free-callback.
 
 Fixes one of the "read after free" warnings from Valgrind reported in
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8197 and the one reported
 in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8653

Directory: /trunk/epan/
  Changes    Path          Action
  +9 -1      tvbuff.c      Modified