Wireshark-commits: [Wireshark-commits] master-2.6 645db15: Add more bounds checks.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 23 Apr 2018 03:32:28 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=645db15bba4f102a2e88caaba21894f15a2c145a
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark

Commits:

645db15 by Guy Harris (guy@xxxxxxxxxxxx):

    Add more bounds checks.
    
    If the calculated packet length in the header is bigger than the actual
    packet length value from the header, reject the packet.
    
    Change-Id: I86cb24c66ee0d6fd2ed6f9240d44c1adc5f0bf91
    Reviewed-on: https://code.wireshark.org/review/27087
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 83ecd467765408847afe6e5acdd7ab974c621f6e)
    Reviewed-on: https://code.wireshark.org/review/27088
    

Actions performed:

    from  c28fabc   Fix more indentation.
    adds  645db15   Add more bounds checks.


Summary of changes:
 epan/dissectors/packet-bvlc.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)