Wireshark-commits: [Wireshark-commits] master-2.0 0a2a956: Make sure the packet length isn't > WTAP

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

Commits:

0a2a956 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/15234
    

Actions performed:

    from  f5e7e03   Don't treat the packet length as unsigned.
    adds  0a2a956   Make sure the packet length isn't > WTAP_MAX_PACKET_SIZE.


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