Wireshark-commits: [Wireshark-commits] master 7cc5941: json_dumper: add json_dumper_value_double

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 11 Feb 2019 05:10:05 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7cc5941f95bdc680a0763fa6e8826b15f2307f26
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

7cc5941 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>
    

Actions performed:

    from  0ca65a6   Fix crash when using the "matches" operator on non-UTF-8 data
     add  7cc5941   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(-)