diff options
author | René Scharfe <l.s.r@web.de> | 2018-06-10 10:56:31 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-18 17:03:38 (GMT) |
commit | 94eff2b69a3dc662edac9984a08241d033e764d7 (patch) | |
tree | 10c554181a92b312049adc5535d0d53edfa2717b /unix-socket.h | |
parent | 1de70dbd1ada0069d1b6cd6345323906cc9a9ed3 (diff) | |
download | git-94eff2b69a3dc662edac9984a08241d033e764d7.zip git-94eff2b69a3dc662edac9984a08241d033e764d7.tar.gz git-94eff2b69a3dc662edac9984a08241d033e764d7.tar.bz2 |
merge-recursive: use xstrdup() instead of fixed buffer
Paths can be longer than PATH_MAX. Avoid a buffer overrun in
check_dir_renamed() by using xstrdup() to make a private copy safely.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unix-socket.h')
0 files changed, 0 insertions, 0 deletions