git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* bugreport - SEGFAULT on 'git show-branch --current --reflog=3'
@ 2022-04-13  8:39 Gregory David
  2022-04-13 13:57 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 6+ messages in thread
From: Gregory David @ 2022-04-13  8:39 UTC (permalink / raw)
  To: git


[-- Attachment #1.1.1: Type: text/plain, Size: 1424 bytes --]

Hi, this bugreport is about a SEGFAULT on git binary when running in
this repository (for example, as it also segfault on other private
repositories): https://framagit.org/groolot-association/osc_looper.git


What did you do before the bug happened? (Steps to reproduce your
issue) I just wanted to list branches, and so playing with 'git
show-branch --current --reflog=3' in the repository
https://framagit.org/groolot-association/osc_looper.git

What did you expect to happen? (Expected behavior)
Not to segfault

What happened instead? (Actual behavior)
This command fails with a SEGFAULT on version 2.35.1, 2.20.1 and 2.17.1
It also SEGFAULT on branch 'next' of github git repository.

What's different between what you expected and what actually happened?
Segfault

Anything else you want to add:
Segfaut happened when '--current' AND '--reflog=3' are provided together

Please review the rest of the bug report below.
You can delete any lines you don't wish to share.


[System Info]
git version:
git version 2.35.1
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
uname: Linux 5.16.0-4-amd64 #1 SMP PREEMPT Debian 5.16.12-1 (2022-03-08)
x86_64
compiler info: gnuc: 11.2
libc info: glibc: 2.33
$SHELL (typically, interactive shell): /usr/bin/zsh


Best regards

-- 
Gregory David
Security Engineer
https://www.p1sec.com

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2501 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-04-14  7:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13  8:39 bugreport - SEGFAULT on 'git show-branch --current --reflog=3' Gregory David
2022-04-13 13:57 ` Ævar Arnfjörð Bjarmason
2022-04-13 15:48   ` Gregory David
2022-04-13 18:46     ` Ævar Arnfjörð Bjarmason
2022-04-14  7:20       ` Gregory David
2022-04-14  7:40       ` Gregory David

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).