Wireshark-commits: [Wireshark-commits] rev 24055: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Thu, 10 Jan 2008 09:40:25 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=24055

User: guy
Date: 2008/01/10 09:40 AM

Log:
 pinfo->pseudo_header can and should be assumed to be non-null by a
 dissector.  This fixes Coverity CID 238 (as we *were* assuming it was
 non-null in one statement, and then only checking it later).
 
 Set pinfo->p2p_dir to one of P2P_DIR_RECV or P2P_DIR_SENT, as it's
 supposed to be, not to a Boolean value, and explain the basis on which
 it's being set.

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +132 -125  packet-erf.c    Modified