[Boost-bugs] [Boost C++ Libraries] #4900: property_tree json_parse "unsigned int exception"

Subject: [Boost-bugs] [Boost C++ Libraries] #4900: property_tree json_parse "unsigned int exception"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-28 13:24:10


#4900: property_tree json_parse "unsigned int exception"
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 {
 "data" : 4278190080
 }
 ///////
 "unsigned int..." exception occured when call json_parser function;

 And bug can be fixed by :
 modify file"boost/property_tree/detail/json_parser_read.hpp", row 236
  number = strict_real_p
                       | int_p
                        ;

 to:
 number
                     = strict_real_p
                         | int_p
                         | uint_p //<---
                         ;

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4900>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC