pr-1693/barroit/fix-bugreport-v2
tagged this
14 Mar 04:00
executing git bugreport --no-suffix led to a segmentation fault due to strbuf_addftime() being called with a NULL option_suffix variable. This occurs because negating the "--[no-]suffix" option causes the parser to set option_suffix to NULL, which is not handled prior to calling strbuf_addftime(). Jiamu Sun (2): bugreport.c: fix a crash in `git bugreport` with `--no-suffix` option doc: update doc file and usage for git-bugreport Documentation/git-bugreport.txt | 6 +++++- builtin/bugreport.c | 10 +++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) base-commit: 945115026aa63df4ab849ab14a04da31623abece Submitted-As: https://lore.kernel.org/git/pull.1693.v2.git.1710388817.gitgitgadget@gmail.com In-Reply-To: https://lore.kernel.org/git/pull.1693.git.1710260812280.gitgitgadget@gmail.com
Assets 2
-
2024-03-14T04:00:17Z -
2024-03-14T04:00:17Z -