You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the issue you have?
I receive a json which contains a null character within a string value. while traversing this json document, calling either is_string(), is_primitive(), or is_structured() on it causes an infinite loop
this null character either exists in the original string, or is added by the parser
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
call https://www.instagram.com/bradpittofflcial/?__a=1
parse the returned json document.
traverse to graphql/user/biography
call is_primitive() on it
What is the expected behavior?
return boolean true
And what is the actual behavior instead?
doesn't terminate
Which compiler and operating system are you using? Is it a supported compiler?
linux, gcc-9.3
Did you use a released version of the library or the version from the develop branch?
releashed
unfortunately no, I cannot share the code. Also using your sample program works for me too. The infinite loop was a [false] conjecture. This code is running inside a lambda so I have now verified that it was an exception going uncaught and a worker thread crashing without trace. I was too quick to post this issue before instrumenting properly and verifying the cause.
What is the issue you have?
I receive a json which contains a null character within a string value. while traversing this json document, calling either is_string(), is_primitive(), or is_structured() on it causes an infinite loop
this null character either exists in the original string, or is added by the parser
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
call
https://www.instagram.com/bradpittofflcial/?__a=1
parse the returned json document.
traverse to
graphql/user/biography
call
is_primitive()
on itWhat is the expected behavior?
return boolean true
And what is the actual behavior instead?
doesn't terminate
Which compiler and operating system are you using? Is it a supported compiler?
linux, gcc-9.3
Did you use a released version of the library or the version from the
develop
branch?releashed
If you experience a compilation error: can you compile and run the unit tests?
yes
The text was updated successfully, but these errors were encountered: