Ethereal-cvs: [Ethereal-cvs] rev 15980: /trunk/epan/: tvbuff.c

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

Date: Fri, 23 Sep 2005 18:27:33 GMT
User: ulfl
Date: 2005/09/23 01:27 PM

Log:
 as tvb functions are frequently used by a lot of dissectors, use DISSECTOR_ASSERT() like instead of g_assert throughout tvbuff, so a malicious dissector won't crash Ethereal (at least at the ways we can detect it)
 
 of course this won't catch e.g. NULL pointers, but far better than nothing ...

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



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