summaryrefslogtreecommitdiff
path: root/include/git2/errors.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@elego.de>2011-06-28 16:24:51 +0200
committerVicent Marti <tanoku@gmail.com>2011-07-05 02:32:17 +0200
commitf58c53ce66cca0b42f615fc6773dbaf4e5fa566f (patch)
tree8a34e2eedc2aa788671aa14777948a341794fed0 /include/git2/errors.h
parent86b5ab162cbc16aa303a38b85e6c063426568787 (diff)
downloadlibgit2-f58c53ce66cca0b42f615fc6773dbaf4e5fa566f.tar.gz
Correctly detect truncated input in header parsing
If the section header is the last line in the file, parse_section_header would incorrectly decide that the input had been truncated. Fix this by checking whether the actual input line is correctly formatted. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Diffstat (limited to 'include/git2/errors.h')
0 files changed, 0 insertions, 0 deletions