cvsserver: use safe_pipe_capture instead of backticks
authorjoernchen <joernchen@phenoelit.de>
Mon, 11 Sep 2017 05:45:09 +0000 (14:45 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Sep 2017 05:52:29 +0000 (14:52 +0900)
commit27dd73871f814062737c327103ee43f1eb7f30d9
tree83acb30b84979e6bed8d12da03f87536d84fe8d2
parentfce13af5d20cad8dcb2d0e47bcf01b6960f08e55
cvsserver: use safe_pipe_capture instead of backticks

This makes the script pass arguments that are derived from end-user
input in safer way when invoking subcommands.

Reported-by: joernchen <joernchen@phenoelit.de>
Signed-off-by: joernchen <joernchen@phenoelit.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsserver.perl