Wireshark-commits: [Wireshark-commits] rev 35128: /trunk/epan/ /trunk/epan/: emem.c

Date: Mon, 06 Dec 2010 17:30:23 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35128

User: sfisher
Date: 2010/12/06 09:30 AM

Log:
 Fix bug #5463 (and likely others) so that ep_strbuf_new() no longer
 truncates newly created and copied strings.  The problem was that
 strlen() (which returns a length not counting the NULL terminator) was
 being mixed with functions that do malloc() (which need to allocate
 memory large enough to inculde the NULL string terminator).

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