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

Commits:

01c2156 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
    

Actions performed:

    from  a897a45   Prep for 3.2.3.
     add  01c2156   lwm2mtlv: Handle 8 bytes Float


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