summaryrefslogtreecommitdiff
path: root/src/diff_parse.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-03-20 09:34:41 +0100
committerPatrick Steinhardt <ps@pks.im>2017-03-21 15:48:15 +0100
commit2cf48e13262921c2c6e38668c1ea54d93c2117c8 (patch)
tree15cc201f206ea66e06a3a0cd4e84924998746f3e /src/diff_parse.c
parentff8d2eb15f145640c3b54755b460a06b24f0ca0e (diff)
downloadlibgit2-2cf48e13262921c2c6e38668c1ea54d93c2117c8.tar.gz
config_file: check if section header buffer runs out of memory
While parsing section headers, we use a buffer to store the actual section name. We do not check though if the buffer runs out of memory at any stage. Do so.
Diffstat (limited to 'src/diff_parse.c')
0 files changed, 0 insertions, 0 deletions