{"thread":{"id":"58837","subject":"git tag -l --format results into a malloc fatal error, if tag is signed.","startedAt":"2022-11-22T08:01:35Z","lastAt":"2022-11-23T00:20:18Z","messageCount":3,"participants":["Jan-Otto Kröpke","René Scharfe","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"467754","messageId":"CAAsn9Yxbb3-4iTfD8gf_EhVbE+yKJdT=Vb5ojeFZOHvMutUn2Q@mail.gmail.com","threadId":"58837","inReplyTo":null,"subject":"git tag -l --format results into a malloc fatal error, if tag is signed.","fromName":"Jan-Otto Kröpke","fromEmail":"mail@jkroepke.de","sentAt":"2022-11-22T08:01:16Z","receivedAt":"2022-11-22T08:01:35Z","isPatch":false,"sender":{"key":"mail@jkroepke.de","avatar":null},"body":"Thank you for filling out a Git bug report!\nPlease answer the following questions to help us understand your issue.\n\nWhat did you do before the bug happened? (Steps to reproduce your issue)\nCreate a signed git tag signed by a SSH key and run this command\n(orginally executed by goreleaser).\n% git -c log.showSignature=false tag -l --format='%(contents:body)' v4.2.2\n\nWhat did you expect to happen? (Expected behavior)\nCommand executed successfully\n\nWhat happened instead? (Actual behavior)\n% git -c log.showSignature=false tag -l --format='%(contents:body)' v4.2.2\nfatal: Out of memory, malloc failed (tried to allocate\n18446744073709551323 bytes)\n\n\nWhat's different between what you expected and what actually happened?\nSee above\n\nAnything else you want to add:\n\nReference repository: https://github.com/jkroepke/helm-secrets\n\nPlease review the rest of the bug report below.\nYou can delete any lines you don't wish to share.\n\n\n[System Info]\ngit version:\ngit version 2.38.1\ncpu: x86_64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nfeature: fsmonitor--daemon\nuname: Darwin 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct  9 20:14:54\nPDT 2022; root:xnu-8792.41.9~2/RELEASE_X86_64 x86_64\ncompiler info: clang: 14.0.0 (clang-1400.0.29.102)\nlibc info: no libc information available\n$SHELL (typically, interactive shell): /bin/zsh\n\n\n[Enabled Hooks]\n"},{"id":"467781","messageId":"7386132c-995a-5bfc-ed67-ec6dc2c3e7f9@web.de","threadId":"58837","inReplyTo":"CAAsn9Yxbb3-4iTfD8gf_EhVbE+yKJdT=Vb5ojeFZOHvMutUn2Q@mail.gmail.com","subject":"Re: git tag -l --format results into a malloc fatal error, if tag is signed.","fromName":"René Scharfe","fromEmail":"l.s.r@web.de","sentAt":"2022-11-22T17:48:44Z","receivedAt":"2022-11-22T17:53:47Z","isPatch":false,"sender":{"key":"l.s.r@web.de","avatar":"https://avatars.githubusercontent.com/u/26122331?v=4"},"body":"Am 22.11.22 um 09:01 schrieb Jan-Otto Kröpke:\n> Thank you for filling out a Git bug report!\n> Please answer the following questions to help us understand your issue.\n>\n> What did you do before the bug happened? (Steps to reproduce your issue)\n> Create a signed git tag signed by a SSH key and run this command\n> (orginally executed by goreleaser).\n> % git -c log.showSignature=false tag -l --format='%(contents:body)' v4.2.2\n>\n> What did you expect to happen? (Expected behavior)\n> Command executed successfully\n>\n> What happened instead? (Actual behavior)\n> % git -c log.showSignature=false tag -l --format='%(contents:body)' v4.2.2\n> fatal: Out of memory, malloc failed (tried to allocate\n> 18446744073709551323 bytes)\n\nFixed by b01e1c7ef0 (ref-filter: fix parsing of signatures without blank\nlines, 2022-11-02).  It hasn't made it into a release, yet, but I would\nexpect it to be included in an upcoming version 2.38.2.  Discussion:\nhttps://lore.kernel.org/git/Y2IfT0UFJ7H%2FmHMz@coredump.intra.peff.net/.\n\n>\n>\n> What's different between what you expected and what actually happened?\n> See above\n>\n> Anything else you want to add:\n>\n> Reference repository: https://github.com/jkroepke/helm-secrets\n>\n> Please review the rest of the bug report below.\n> You can delete any lines you don't wish to share.\n>\n>\n> [System Info]\n> git version:\n> git version 2.38.1\n> cpu: x86_64\n> no commit associated with this build\n> sizeof-long: 8\n> sizeof-size_t: 8\n> shell-path: /bin/sh\n> feature: fsmonitor--daemon\n> uname: Darwin 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct  9 20:14:54\n> PDT 2022; root:xnu-8792.41.9~2/RELEASE_X86_64 x86_64\n> compiler info: clang: 14.0.0 (clang-1400.0.29.102)\n> libc info: no libc information available\n> $SHELL (typically, interactive shell): /bin/zsh\n>\n>\n> [Enabled Hooks]\n\n"},{"id":"467835","messageId":"xmqqedtuplmr.fsf@gitster.g","threadId":"58837","inReplyTo":"7386132c-995a-5bfc-ed67-ec6dc2c3e7f9@web.de","subject":"Re: git tag -l --format results into a malloc fatal error, if tag is signed.","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2022-11-23T00:20:12Z","receivedAt":"2022-11-23T00:20:18Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"René Scharfe <l.s.r@web.de> writes:\n\n> Fixed by b01e1c7ef0 (ref-filter: fix parsing of signatures without blank\n> lines, 2022-11-02).  It hasn't made it into a release, yet, but I would\n> expect it to be included in an upcoming version 2.38.2.\n\nI am fairly certain it would be in 2.39 but probably not 2.38\nmaintenance track, as b01e1c7ef0 seems to have been applied without\nconsidering that it is a maint-worthy material.\n\n\n"}]}