URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a3a8aa0fa57c079f7385496d33cfc353687f1453
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark
Commits:
a3a8aa0 by Guy Harris (guy@xxxxxxxxxxxx):
Add record length checks.
Make sure the summary record is large enough; if not, report it as a bad
file.
If it's *too* large, skip the added data.
Clean up the length check for the header records - use sizeof, as we
later use sizeof when subtracting the fixed length portion's length.
Change-Id: I70697804eaa0cbbb1fb074eadf6457d237f26876
Reviewed-on: https://code.wireshark.org/review/36814
Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
(cherry picked from commit ada1a5c770e00d087385e2ec870291d67e190959)
Reviewed-on: https://code.wireshark.org/review/36817
Actions performed:
from 6d5f1e1 Fix a comment.
add a3a8aa0 Add record length checks.
Summary of changes:
wiretap/lanalyzer.c | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)