aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sctp.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2002-05-07 10:07:55 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2002-05-07 10:07:55 +0000
commit04158638aec8457f54b9b55c4664df607769c344 (patch)
tree6057f4e9d0552649a116ddf7df8c7d212178c7e5 /packet-sctp.c
parentd471f94388a5dd1ca01e69520a9994c8b36df6ce (diff)
Added extra check in the function that parses NDR pointers.
When the representation for a pointer type gets dissected, the dissector is actually called twice. Once with conformant_run==1 and once ==0. The idea is that when conformant_run is ==1, the ONLY bytes that will be dissected and would be the array structure preceeding the actual data. And the normal data and content will be dissected when conformant_run ==0. This is to handle the case properly when conformant arrays are embedded inside aggregated types, in which case there will be other data inserted between these array control data, and the array content. The check that is added will assert that no other data is actually eaten for conformant_run==1 than just this data. This will help debugging dcerpc dissectors. svn path=/trunk/; revision=5412
Diffstat (limited to 'packet-sctp.c')
0 files changed, 0 insertions, 0 deletions