git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git tag -l --format results into a malloc fatal error, if tag is signed.

From
JKJan-Otto Kröpke <mail@jkroepke.de>
Date
Nov 22, 2022, 08:01 UTC
Message-ID
<CAAsn9Yxbb3-4iTfD8gf_EhVbE+yKJdT=Vb5ojeFZOHvMutUn2Q@mail.gmail.com>

Thank you for filling out a Git bug report! Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue) Create a signed git tag signed by a SSH key and run this command (orginally executed by goreleaser). % git -c log.showSignature=false tag -l --format='%(contents:body)' v4.2.2

What did you expect to happen? (Expected behavior) Command executed successfully

What happened instead? (Actual behavior) % git -c log.showSignature=false tag -l --format='%(contents:body)' v4.2.2 fatal: Out of memory, malloc failed (tried to allocate 18446744073709551323 bytes)

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

Anything else you want to add:
Reference repository: https://github.com/jkroepke/helm-secrets

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.38.1 cpu: x86_64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon uname: Darwin 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:54 PDT 2022; root:xnu-8792.41.9~2/RELEASE_X86_64 x86_64 compiler info: clang: 14.0.0 (clang-1400.0.29.102) libc info: no libc information available $SHELL (typically, interactive shell): /bin/zsh

[Enabled Hooks]
Next: René Scharfe
Message 1 of 3 in “git tag -l --format results into a malloc fatal error, if tag is signed.”
  1. Jan-Otto KröpkeNov 22, 2022
  2. René ScharfeNov 22, 2022
  3. Junio C HamanoNov 23, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.