aboutsummaryrefslogtreecommitdiffstats
path: root/packet-imap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-10-25 23:40:28 +0000
committerGuy Harris <guy@alum.mit.edu>2001-10-25 23:40:28 +0000
commitc718555cc5ec0606d772dcbacf5285c82db6352a (patch)
tree1368c9af8fc5d790718eb8f69b42c338a8defe54 /packet-imap.c
parent625694476391db20e7204305df5a39ce6d84438e (diff)
Loop over all the sub-payloads of a Security Association payload; make a
common routine that loops over payloads. Have that routine check for a payload of type "None", which means that there's extra data after a payload that claimed to be the last one (by virtue of having a next payload type of "None"). When dissecting a Security Association payload, make sure we have enough data for the Domain of Interpretation field before putting it into the tree, dissect the situation as a 4-byte quantity followed by a set of sub-payloads only of the DOI is "IPSEC" (otherwise dissect it as raw data), and make sure we have enough data for the 4-byte situation field before putting it into the tree. When dissecting a Proposal payload, show the raw bytes of the SPI. svn path=/trunk/; revision=4081
Diffstat (limited to 'packet-imap.c')
0 files changed, 0 insertions, 0 deletions