Wireshark-commits: [Wireshark-commits] master e19084f: ssl-utils: add validation for ALPN

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 6 Feb 2017 21:32:10 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e19084f4cd16f9a6b3124b2643c3963d89e21adf
Submitter: Alexis La Goutte (alexis.lagoutte@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e19084f by Peter Wu (peter@xxxxxxxxxxxxx):

    ssl-utils: add validation for ALPN
    
    Use ssl_add_vector to ensure that the lengths are checked for validity
    and that expert info is added when invalid data is encountered.
    
    Change-Id: I5d03dce988f695cdc305f1bfff9d19ae90c5f6e2
    Reviewed-on: https://code.wireshark.org/review/19935
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    

Actions performed:

    from  658253b   (D)TLS: simplify SignatureAndHashAlgorithm dissection
    adds  e19084f   ssl-utils: add validation for ALPN


Summary of changes:
 epan/dissectors/packet-ssl-utils.c |   74 ++++++++++++++++++++----------------
 1 file changed, 42 insertions(+), 32 deletions(-)