• Sean Leather's avatar
    Fix MemoryStream::Peek() and add test for fix · 0e715872
    Sean Leather authored
    MemoryStream::Peek() did not return '\0' if src_ == end_, but Peek() == '\0' is
    used in parsing in the GenericReader. Without this change, parsing with
    MemoryStream as the InputStream could result in a segmentation fault.
    0e715872
Name
Last commit
Last update
bin Loading commit data...
build Loading commit data...
doc Loading commit data...
example Loading commit data...
include/rapidjson Loading commit data...
test Loading commit data...
thirdparty Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
license.txt Loading commit data...
readme.md Loading commit data...