Wireshark-commits: [Wireshark-commits] master-3.0 681787b: json_dumper: add json_dumper_value_doubl

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 11 Feb 2019 09:35:27 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=681787bbd6b50d6dcd663007bd9cdb691e358013
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

681787b by Peter Wu (peter@xxxxxxxxxxxxx):

    json_dumper: add json_dumper_value_double
    
    Add locale-independent version that replaces json_dumper_value_anyf for
    floating-point numbers. NaN and -/+Infinity are mapped to null.
    
    Change-Id: I8e7856de480b7bcafe77ddd015239e1257768ced
    Reviewed-on: https://code.wireshark.org/review/31948
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Jakub Zawadzki <jbwzawadzki@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 7cc5941f95bdc680a0763fa6e8826b15f2307f26)
    Reviewed-on: https://code.wireshark.org/review/31967
    

Actions performed:

    from  4355b49   Fix crash when using the "matches" operator on non-UTF-8 data
     add  681787b   json_dumper: add json_dumper_value_double


Summary of changes:
 debian/libwsutil0.symbols |  1 +
 wsutil/json_dumper.c      | 20 ++++++++++++++++++++
 wsutil/json_dumper.h      |  5 ++++-
 3 files changed, 25 insertions(+), 1 deletion(-)