Browse Source
2564aa4
started to initialize buf.alloc, but that should actually be one
more byte than the string length due to the trailing \0. Also, do not
modify buf.alloc out of the strbuf code. Use the existing strbuf_attach
instead.
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Sebastian Schuberth
13 years ago
committed by
Junio C Hamano
1 changed files with 3 additions and 4 deletions
Loading…
Reference in new issue