aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-11-24 07:52:05 +0000
committerGuy Harris <guy@alum.mit.edu>2001-11-24 07:52:05 +0000
commitf84bce97ccbf3ea9ae331019a3434265806465a1 (patch)
tree2068f22c1be17ad5f6be19ed3291641718ed6ca9 /packet-dcerpc.h
parent0bc13df91eb514f8aecc4e5838aa03c45502898e (diff)
If the expected "next offset" doesn't match the offset we read, it may
merely mean that we mistakenly treated stuff from the text-dump part of the file we're reading as if it were hex byte data (e.g., if the first non-white-space part of the text dump was a 2-digit hex number). If the offset we read is less than the expected next offset, assume that's the problem, and throw away enough extra bytes to make the offset we read the expected next offset. "getopt()" will never, for any option that the "getopt()" string says takes an argument, leave "optarg" null; if no argument was specified, it'll return an error, so there's no need to check for a null "optarg". svn path=/trunk/; revision=4250
Diffstat (limited to 'packet-dcerpc.h')
0 files changed, 0 insertions, 0 deletions