diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-10-24 08:55:35 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-10-24 14:58:37 -0700 |
commit | fd356f6aa8bb75ebef56fbc61caf7e02517fa6d3 (patch) | |
tree | e2851336dfb92b96bad2201baf9131f64c4704be /Documentation/git-help.txt | |
parent | git-merge: document the -S option (diff) | |
download | tgif-fd356f6aa8bb75ebef56fbc61caf7e02517fa6d3.tar.xz |
entry.c: convert checkout_entry to use strbuf
The old code does not do boundary check so any paths longer than
PATH_MAX can cause buffer overflow. Replace it with strbuf to handle
paths of arbitrary length.
The OS may reject if the path is too long though. But in that case we
report the cause (e.g. name too long) and usually move on to checking
out the next entry.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-help.txt')
0 files changed, 0 insertions, 0 deletions