tools/mkcapsule.c: the kernel build's only warnings #143

Open
opened 2026-11-07 20:15:34 +00:00 by rajames · 0 comments
Owner

Found

A riscv64 kernel build (2026-11-07) gives 5 warnings, all -Wformat-truncation in tools/mkcapsule.c (paths built into 512- and 4096-byte buffers from a 200 KB input). #23 covers other files.

Done when

  • The truncation either impossible (checked lengths) or handled; the build warning-free

🤖 Filed with Claude Code -- the review after v4.0.0-alpha.3 (Captain Bob, 2026-11-07: "a list of problems, deficiencies, smells and so on placed in issues by rank priority").

### Found A riscv64 kernel build (2026-11-07) gives **5** warnings, all `-Wformat-truncation` in `tools/mkcapsule.c` (paths built into 512- and 4096-byte buffers from a 200 KB input). #23 covers other files. ### Done when - [ ] The truncation either impossible (checked lengths) or handled; the build warning-free 🤖 Filed with [Claude Code](https://claude.com/claude-code) -- the review after v4.0.0-alpha.3 (Captain Bob, 2026-11-07: "a list of problems, deficiencies, smells and so on placed in issues by rank priority").
rajames added this to the v4.0.0-alpha.4 milestone 2026-11-07 20:15:35 +00:00
rajames added the
priority
nice
kind
chore
status
backlog
labels 2026-11-07 20:15:35 +00:00
Sign in to join this conversation.