Ethereal-cvs: [Ethereal-cvs] rev 13083: /trunk/epan/dissectors/: packet-dnp.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Mon, 17 Jan 2005 03:40:07 -0000
User: guy
Date: 2005/01/16 09:40 PM

Log:
 When assembling application layer chunks, don't include the transport
 layer byte in the reassembled data - including it means we have to pass
 to "tvb_new_real_data()" a pointer to the *second* byte of a mallocated
 chunk of data, but that would require us to have the free routine for
 the new tvbuff back that pointer up before freeing it (we aren't doing
 that currently, which means that "free()" either complains bitterly or,
 potentially, corrupts the arena, causing crashes later).
 
 Put in some XXX comments about some issues seen when looking at the
 code.

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +12 -5     packet-dnp.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=13083&view=rev