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

Avoid passing null for the string pointer to JS_EvaluateUCScript. #91

Merged
merged 1 commit into from Jul 13, 2014

Commits on Jul 13, 2014

  1. Avoid passing null for the string pointer to JS_EvaluateUCScript.

    For empty Vecs, Rust doesn't allocate a backing storage and instead sets the
    pointer to null. However, TokenStream::TokenBuf uses null as a poison value,
    leading to assertion failures when passing in null into the JS parser.
    Ms2ger committed Jul 13, 2014
You can’t perform that action at this time.