Wireshark-commits: [Wireshark-commits] master f3eb00a: ssl-utils: add length validation to NPN exte

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

Commits:

f3eb00a by Peter Wu (peter@xxxxxxxxxxxxx):

    ssl-utils: add length validation to NPN extension
    
    Add the definition from draft 4 as well (which describes the structure
    in text). Remove the check for zero length name since this is normally
    not the case (according to draft specification).
    
    Change-Id: I72c3f04a5146d4c4fa291383258246d9ba2b14be
    Reviewed-on: https://code.wireshark.org/review/19936
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    

Actions performed:

    from  e19084f   ssl-utils: add validation for ALPN
    adds  f3eb00a   ssl-utils: add length validation to NPN extension


Summary of changes:
 epan/dissectors/packet-ssl-utils.c |   43 +++++++++++++++++++++---------------
 1 file changed, 25 insertions(+), 18 deletions(-)