Wireshark-commits: [Wireshark-commits] rev 54546: / /trunk-1.8/wiretap/: ngsniffer.c

Date: Wed, 01 Jan 2014 23:26:05 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=54546

User: guy
Date: 2014/01/01 11:26 PM

Log:
 Copy over r54544 from trunk:
 
   ------------------------------------------------------------------------
   r54544 | guy | 2014-01-01 15:22:53 -0800 (Wed, 01 Jan 2014) | 11 lines
 
   If the uncompression buffers are empty, they have no data; set the count
   of bytes in them to 0, as there's no data in them, and set the offset in
   that buffer of the stream's current position, to 0, as we're currently
   at the beginning of the file in both streams.
 
   This fixes some tricky-to-reproduce errors (which show up only if the
   ngsniffer_t structure is allocated from data that's been allocated,
   written to in those variables, and freed).

Directory: /trunk-1.8/wiretap/
  Changes    Path           Action
  +4 -0      ngsniffer.c    Modified