summaryrefslogtreecommitdiff
path: root/src/diff_output.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-09-16 00:10:07 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-09-16 00:10:07 +0200
commite8776d30f7edb570f435cf746d712c696b862bdd (patch)
tree25e65bfd3fc79d3c30c7555ee1817d391a5b854a /src/diff_output.c
parent1e90ae77c4660f9637125a9f72336a25de817efb (diff)
downloadlibgit2-e8776d30f7edb570f435cf746d712c696b862bdd.tar.gz
odb: don't overflow the link path buffer
Allocate a buffer large enough to store the path plus the terminator instead of letting readlink write beyond the end.
Diffstat (limited to 'src/diff_output.c')
0 files changed, 0 insertions, 0 deletions