Wireshark-commits: [Wireshark-commits] master-2.2 580575a: PER: fix dissection of enumerated type w
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 07 Sep 2018 08:09:45 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=580575a51e56be6b369d8fb03f41afa3ce2a4be7
Submitter: "Pascal Quantin <pascal.quantin@xxxxxxxxx>"
Changed: branch: master-2.2
Repository: wireshark

Commits:

580575a by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    PER: fix dissection of enumerated type with a single extension value
    
    Per X.691 chapter 14.3, a enumerated type with extension marcker should
    always be encoded as a normally small non-negative whole number.
    
    Change-Id: Ice070a932792ba1654674c68157ff4b6b0942f90
    Reviewed-on: https://code.wireshark.org/review/29454
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit e4ff3e657a8abfad75041cb9e6d750ca42764af0)
    Reviewed-on: https://code.wireshark.org/review/29459
    

Actions performed:

    from  560a185   tvbuff_subset.c: handle a reported_length set to -1 in tvb_new_subset_length()
     add  580575a   PER: fix dissection of enumerated type with a single extension value


Summary of changes:
 epan/dissectors/packet-per.c | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)