Wireshark-commits: [Wireshark-commits] master c7042be: Report an error for too-short packets.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 16 Feb 2017 08:19:37 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c7042bedbb3b12c5f4e19e59e52da370d4ffe62f
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

c7042be by Guy Harris (guy@xxxxxxxxxxxx):

    Report an error for too-short packets.
    
    The packet length field gives the length of the *entire* packet, so, by
    definition, it must not be zero.  Make sure it's at least big enough for
    the packet header itself plus one segment header.
    
    Bug: 13416
    Change-Id: I625bd5c0ce75ab1200b3becf12fc1c819fefcd63
    Reviewed-on: https://code.wireshark.org/review/20133
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  bc2b135   Add follow "types" by protocol short name, not filter name
    adds  c7042be   Report an error for too-short packets.


Summary of changes:
 wiretap/stanag4607.c |   15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)