URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0eb54804e71c5ee237fc42bc411ebf9d7baf4846
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark
Commits:
0eb5480 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 97234edac4f9822c0ca93e92e1b194aa9092c0a6)
Reviewed-on: https://code.wireshark.org/review/36815
Actions performed:
from 7f0f154 Fix a comment.
add 0eb5480 Add record length checks.
Summary of changes:
wiretap/lanalyzer.c | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)