📝 Originally published (in Japanese) at forge.workstyle.tech. TL;DR The Stop hook reported Unterminated string because printf with %b emitted a raw newline inside a JSON string. The hook also used a cd path fixed to an earlier environment. Its change count missed staged and untracked files when it checked only git diff --name-only. TL;DR The Stop... Weiterlesen: Why a Stop Hook JSON Error Came from printf %b
Intelligence View
⚡ tsecurity.de Intelligence
Why a Stop Hook JSON Error Came from printf %b
📝 Originally published (in Japanese) at forge.workstyle.tech. TL;DR The Stop hook reported Unterminated string because printf with %b emitted a raw newline in…
Intelligence Digest - bezpłatnie Codziennie najważniejsze wiadomości bezpieczeństwa · można pobrać w każdej chwili