Wireshark-commits: [Wireshark-commits] master-2.0 ef97919: editcap: handle too short frames in fram
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ef9791911925a7192a2e01896485ea531590a217
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
ef97919 by Jaap Keuter (jaap.keuter@xxxxxxxxx):
editcap: handle too short frames in frame comparison
With option -I one can ignore the first number of bytes from the frame
while doing duplicate frame removal. This doesn't handle shorter frames
correctly. Add safeguards for this, and update the help text.
Bug: 13378
Change-Id: Ia6b65d0797f4069f0b89fa134114d88d80988211
Reviewed-on: https://code.wireshark.org/review/20004
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
(cherry picked from commit b28b07379fe966f0a89ead9fe2fa30ac05e19e9c)
Reviewed-on: https://code.wireshark.org/review/20028
Reviewed-by: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Petri-Dish: Jaap Keuter <jaap.keuter@xxxxxxxxx>
(cherry picked from commit 7769100a1ae04a7d2e2484227d2a54e45719d0b8)
Reviewed-on: https://code.wireshark.org/review/20029
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from d296ba6 Make sure pid_t is defined.
adds ef97919 editcap: handle too short frames in frame comparison
Summary of changes:
doc/editcap.pod | 7 ++++---
editcap.c | 23 +++++++++++++++++------
2 files changed, 21 insertions(+), 9 deletions(-)