diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-04-28 10:44:34 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-04-28 10:44:34 -0700 |
commit | 09e38732e77d97e926165088c8518f6560847744 (patch) | |
tree | 6a653650b80dd159abd578249896c6c8ff7a32d4 /cmake | |
parent | 3cef5425f51bf54504c53cfdc9354e41d5063759 (diff) | |
download | tcpdump-09e38732e77d97e926165088c8518f6560847744.tar.gz |
Don't pop packet info if we haven't pushed it.
This mirrors the way the IPv6 dissector works - the trunc: code doesn't
pop anything, and we only go there for the initial length test, done
before we have pushed the new length value (because that comes from the
IP header and we don't have the full header).
Fixes a crash.
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions