When TRACE2 analytics is enabled, a configuration variable set to
"valueless true" causes a segfault.
Steps to Reproduce
GIT_TRACE2=true GIT_TRACE2_CONFIG_PARAMS=status.*
git -c status.relativePaths version
Expected Result
git version 2.46.0
Actual Result
zsh: segmentation fault GIT_TRACE2=true
Add checks to prevent the segfault and instead show that the
variable without value.
Signed-off-by: Adam Murray <ad@canva.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
|
||
|---|---|---|
| .. | ||
| tr2_cfg.c | ||
| tr2_cfg.h | ||
| tr2_cmd_name.c | ||
| tr2_cmd_name.h | ||
| tr2_ctr.c | ||
| tr2_ctr.h | ||
| tr2_dst.c | ||
| tr2_dst.h | ||
| tr2_sid.c | ||
| tr2_sid.h | ||
| tr2_sysenv.c | ||
| tr2_sysenv.h | ||
| tr2_tbuf.c | ||
| tr2_tbuf.h | ||
| tr2_tgt.h | ||
| tr2_tgt_event.c | ||
| tr2_tgt_normal.c | ||
| tr2_tgt_perf.c | ||
| tr2_tls.c | ||
| tr2_tls.h | ||
| tr2_tmr.c | ||
| tr2_tmr.h | ||