diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-04-17 21:29:15 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-17 21:29:15 -0700 |
commit | 2d430c713372fc21f9acf1d8b745e7f4fbbe336c (patch) | |
tree | 0e296a2ff5134d836e6e903c5b32e20f02774615 /config.c | |
parent | aed97c677cdfd1b9bbc9b33b5418ad4a29109082 (diff) | |
parent | c4c86d238900fb8c99939a9b5003fa622d4dcce7 (diff) | |
download | git-2d430c713372fc21f9acf1d8b745e7f4fbbe336c.tar.gz |
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) |