• Edward Catmur's avatar
    Don't read past the end of the decode out buffer. · 0771d33b
    Edward Catmur authored
    If we finish decoding in step_a state, there is no current output character, so reading *plainchar will either be an uninitialized read or (if the output buffer is minimally sized) a past-the-end read.
    
    Detected by -fsanitize=address.
    0771d33b
Name
Last commit
Last update
..
benchmark Loading commit data...
capnp Loading commit data...
kj Loading commit data...
CMakeLists.txt Loading commit data...