libjson 7.6.1, MSVC v16 (VS2010). Crash in testapp at TestSharedString.cpp line 107 constructing json_shared_string(begin, end).
The problem comes from the definition of json_shared_string::iterator and json_shared_string::const_iterator, the copy constructors for these two classes are not initializing the `parent' member. After fixing that the test passes without crashing. It might be even better to not explicitly define the copy constructor and just use the compiler-provided one.
Nobody/Anonymous
None
None
Public
| Filename | Description | Download |
|---|---|---|
| patch | patch for JSONSharedString.h | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 449054: patch | 2012-07-16 08:06:28 PDT | Sean S |