summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-12-12 07:47:16 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-12 16:57:21 +0900
commitd2ca12020ffb7ee7f0ee1154f394a994f045b5a9 (patch)
treef68ad72e9f888cb7e87ae54eb1d8118892eb7773 /builtin/commit.c
parent33b06fa603958ba936ea7602c9b81d10ffcd08bb (diff)
ci/lib: do not interpret escape sequences in `group ()` arguments
We use printf to set up sections with GitLab CI, which requires us to print a bunch of escape sequences via printf. The group name is controlled by the user and is expanded directly into the formatting string, which may cause problems in case the argument contains escape sequences or formatting directives. Fix this potential issue by using formatting directives to pass variable data. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions