Skip to content
  • Richard van der Hoff's avatar
    Avoid buffer overrun on encryption · 8e554ab5
    Richard van der Hoff authored
    Make sure we null-terminate encrypted strings before passing them to
    UTF8ToString.
    
    This used to work when we allocated the buffer on the stack, because it turns
    out that allocate() zeroinits the returned memory. malloc(), of course, does
    not.
    8e554ab5