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 /commit.c | |
| parent | Update draft release notes to 1.9 (diff) | |
| download | git-c235d960cb32ddca352d12c3f8dc053ddfd421dd.tar.gz git-c235d960cb32ddca352d12c3f8dc053ddfd421dd.zip | |
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 'commit.c')
0 files changed, 0 insertions, 0 deletions
