diff options
author | Jeff King <peff@peff.net> | 2014-06-30 20:59:10 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-01 00:43:17 +0400 |
commit | 592ce20820ac36dd868dfd1e61b1aeb3cd3f902a (patch) | |
tree | fbbe421dc052ab1b0feed033569ac23cd29beeeb /strbuf.h | |
parent | 26936bfd9bde1ec46901bea3e53d4fb9ae1b4a4c (diff) |
index-pack: use strip_suffix to avoid magic numbers
We also switch to using strbufs, which lets us avoid the
potentially dangerous combination of a manual malloc
followed by a strcpy.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.h')
0 files changed, 0 insertions, 0 deletions