commit | c235d960cb32ddca352d12c3f8dc053ddfd421dd | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Tue Dec 17 10:43:30 2013 -0800 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Dec 17 10:43:30 2013 -0800 |
tree | 5c9edd349b4a6cfcbf77ca30b47c15933114b62b | |
parent | d7aced95cd681b761468635f8d2a8b82d7ed26fd [diff] |
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>