crash in TestSharedString.cpp
Brought to you by:
ninja9578
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.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
patch for JSONSharedString.h