• 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
..
documenttest.cpp Loading commit data...
encodedstreamtest.cpp Loading commit data...
encodingstest.cpp Loading commit data...
filestreamtest.cpp Loading commit data...
jsoncheckertest.cpp Loading commit data...
readertest.cpp Loading commit data...
unittest.cpp Loading commit data...
unittest.h Loading commit data...
valuetest.cpp Loading commit data...
writertest.cpp Loading commit data...