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

attempt to fix #1445, flush buffer in serializer::dump_escaped in UTF8_REJECT case. #1446

Merged
merged 3 commits into from
Jan 20, 2019

Commits on Jan 19, 2019

  1. flush buffer in serializer::dump_escaped case UTF8_REJECT

    serializer use fixed buffer. Whenever it is nearly full, it is flushed to `output_adapter_t<char> o`
    But the code forgets to flush when there is a invalid utf8 code point
    So there will be buffer overflow.
    scinart committed Jan 19, 2019
    Configuration menu
    Copy the full SHA
    899bd94 View commit details
    Browse the repository at this point in the history
  2. fix typo

    scinart authored Jan 19, 2019
    Configuration menu
    Copy the full SHA
    83e8444 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    20db020 View commit details
    Browse the repository at this point in the history