diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-12-17 10:43:30 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-17 10:43:30 -0800 |
commit | c235d960cb32ddca352d12c3f8dc053ddfd421dd (patch) | |
tree | 5c9edd349b4a6cfcbf77ca30b47c15933114b62b /builtin/pack-objects.c | |
parent | Update draft release notes to 1.9 (diff) | |
download | tgif-c235d960cb32ddca352d12c3f8dc053ddfd421dd.tar.xz |
prune-packed: use strbuf to avoid having to worry about PATH_MAX
A/very/long/path/to/.git that becomes exactly PATH_MAX bytes long
after suffixed with /objects/??/??38-hex??, would have overflown
the on-stack pathname[] buffer.
Noticed-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/pack-objects.c')
0 files changed, 0 insertions, 0 deletions