Wireshark-commits: [Wireshark-commits] master-3.0 bbccf13: lwm2mtlv: Handle 8 bytes Float
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 07 Apr 2020 21:14:55 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bbccf1302b2a536df299e92ee7e11a24405a26b9
Submitter: "Stig Bjørlykke <stig@xxxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

bbccf13 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    lwm2mtlv: Handle 8 bytes Float
    
    In LwM2M TLV format a Float can be a 4 or 8 bytes floating point value.
    Allocate a separate FT_DOUBLE header field to handle this.
    
    Refactor common code between OMA and UAT defined resources.
    
    Bug: 16485
    Change-Id: I45fe782a32444215959951f0b202de360a3b24b8
    Reviewed-on: https://code.wireshark.org/review/36724
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    (cherry picked from commit 4e9e2bd934e0bdbd8ace2557be5a0cc8d92fc977)
    Reviewed-on: https://code.wireshark.org/review/36741
    (cherry picked from commit c8a7ef7f680f047a5547400e298324c595b680f6)
    Reviewed-on: https://code.wireshark.org/review/36742
    

Actions performed:

    from  5c04660   BACapp: Add a nesting / recursion check.
     add  bbccf13   lwm2mtlv: Handle 8 bytes Float


Summary of changes:
 epan/dissectors/packet-lwm2mtlv.c | 201 ++++++++++++++++++++++++--------------
 1 file changed, 129 insertions(+), 72 deletions(-)