Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 11, 2011
  1. Erik Faye-Lund Junio C Hamano

    strbuf: make sure buffer is zero-terminated

    kusma authored gitster committed
    strbuf_init does not zero-terminate the initial buffer when hint is
    non-zero. Fix this so we can rely on the string to be zero-terminated
    even if we haven't filled it with anything yet.
    
    Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
    Acked-by: Jeff King <peff@peff.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.