Wireshark-commits: [Wireshark-commits] master 111358e: Catch too-short netlink message lengths.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 23 Aug 2016 18:40:54 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=111358e51b2e3c34621e4883206813f422cdc1fd
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

111358e by Guy Harris (guy@xxxxxxxxxxxx):

    Catch too-short netlink message lengths.
    
    0 would cause an infinite loop. and any value < 16 is clearly wrong, so
    if we see such a packet, just show the header's length field and stop
    dissecting.
    
    Bug: 12776
    Change-Id: Iefc56b26b83ff5424968d065bdb9fa84a7a65481
    Reviewed-on: https://code.wireshark.org/review/17277
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  12cae9d   MAC LTE: fix dissection of CE Mode A RAR message
    adds  111358e   Catch too-short netlink message lengths.


Summary of changes:
 epan/dissectors/packet-netlink.c |   15 +++++++++++++++
 1 file changed, 15 insertions(+)