Wireshark-commits: [Wireshark-commits] master-2.2 7769100: editcap: handle too short frames in fram
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7769100a1ae04a7d2e2484227d2a54e45719d0b8
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark
Commits:
7769100 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>
Actions performed:
from 2f0b212 Make sure pid_t is defined.
adds 7769100 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(-)