diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-03-16 08:25:18 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-16 22:08:53 -0700 |
commit | 5c3459fc61c035420c90b7d73e23242493be6cbd (patch) | |
tree | 1c0fe32340828625c11823e526e85074f5313385 /t/t2105-update-index-gitfile.sh | |
parent | i18n: mark more index-pack strings for translation (diff) | |
download | tgif-5c3459fc61c035420c90b7d73e23242493be6cbd.tar.xz |
index-pack: fix buffer overflow caused by translations
The translation of "completed with %d local objects" is put in a
48-byte buffer, which may be enough for English but not true for any
translations. Convert it to use strbuf (i.e. no hard limit on
translation length).
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 't/t2105-update-index-gitfile.sh')
0 files changed, 0 insertions, 0 deletions