Re: [patch] tcpdump gre sre segfault

2015-11-05 Thread Jérémie Courrèges-Anglas
Stuart Henderson writes: > On 2015/11/03 20:04, Kevin Reay wrote: >> Fix a segfault in the GRE printer when a GRE packet SRE length >> extends past the actual captured length (but not the packet's >> original length). > > That's OK with me.. Committed, thanks Kevin. >> gre_print() now checks if

Re: [patch] tcpdump gre sre segfault

2015-11-04 Thread Stuart Henderson
On 2015/11/03 20:04, Kevin Reay wrote: > Fix a segfault in the GRE printer when a GRE packet SRE length > extends past the actual captured length (but not the packet's > original length). That's OK with me.. > gre_print() now checks if the length extends past snapend and, if so, > uses the snapen

[patch] tcpdump gre sre segfault

2015-11-03 Thread Kevin Reay
Fix a segfault in the GRE printer when a GRE packet SRE length extends past the actual captured length (but not the packet's original length). gre_print() now checks if the length extends past snapend and, if so, uses the snapend to determine the usable length. Also includes a small change to use