Wireshark-commits: [Wireshark-commits] master-1.12 713a7bd: Make sure the packet length isn't > WTA

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 2 May 2016 00:10:06 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=713a7bdef9dc2d3894387777a9282f145b4bf398
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

713a7bd by Guy Harris (guy@xxxxxxxxxxxx):

    Make sure the packet length isn't > WTAP_MAX_PACKET_SIZE.
    
    Change-Id: I65c1e87e2fcff93b3db998666ff51f19ecd71b55
    Reviewed-on: https://code.wireshark.org/review/15233
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 7666361bf968057e400d3e73ccc12723707e3646)
    Reviewed-on: https://code.wireshark.org/review/15235
    

Actions performed:

    from  edbed5a   Don't treat the packet length as unsigned.
    adds  713a7bd   Make sure the packet length isn't > WTAP_MAX_PACKET_SIZE.


Summary of changes:
 wiretap/iseries.c |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)