diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-04-18 06:29:15 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-18 06:29:15 +0200 |
commit | 2d430c713372fc21f9acf1d8b745e7f4fbbe336c (patch) | |
tree | 0e296a2ff5134d836e6e903c5b32e20f02774615 /config.c | |
parent | hook/update: example of how to prevent branch creation (diff) | |
parent | doc/gitattributes: clarify location of config text (diff) | |
download | git-2d430c713372fc21f9acf1d8b745e7f4fbbe336c.tar.xz git-2d430c713372fc21f9acf1d8b745e7f4fbbe336c.zip |
Merge branch 'maint'
* maint:
doc/gitattributes: clarify location of config text
Fix buffer overflow in config parser
git-apply: fix option description
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ static char *parse_value(void) for (;;) { int c = get_next_char(); - if (len >= sizeof(value)) + if (len >= sizeof(value) - 1) return NULL; if (c == '\n') { if (quote) |