Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failed: !HasParseError() #288

Closed
erikfroseth opened this issue Apr 10, 2015 · 0 comments
Closed

Assertion failed: !HasParseError() #288

erikfroseth opened this issue Apr 10, 2015 · 0 comments
Labels
Milestone

Comments

@erikfroseth
Copy link
Contributor

Hi,

If given a incomplete codepoint, rapidjson will hit an assertion:

  rapidjson::Document d;
  d.Parse("{\"foo\": \"\\uaaa\"}");

It can be fixed by adding "RAPIDJSON_PARSE_ERROR_EARLY_RETURN_VOID;" to reader.h:707

@miloyip miloyip added the bug label Apr 10, 2015
@miloyip miloyip added this to the v1.0 milestone Apr 10, 2015
miloyip added a commit that referenced this issue Apr 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants