Skip to content

Fix IMPORTANT audit findings (worktree-agent-af2e8662)#16

Open
kelp wants to merge 1 commit intomainfrom
worktree-agent-af2e8662
Open

Fix IMPORTANT audit findings (worktree-agent-af2e8662)#16
kelp wants to merge 1 commit intomainfrom
worktree-agent-af2e8662

Conversation

@kelp
Copy link
Copy Markdown
Owner

@kelp kelp commented Mar 30, 2026

Fixes IMPORTANT audit findings. Tests pass.

printf: warn and exit 1 for non-numeric %d args, parse
leading digits from partial numeric input, negative
dynamic width (*) implies left-justify.

seq: pre-process args so negative numbers aren't treated
as flags, change error exit codes from 2 to 1 (GNU
compat), reject NaN/Inf inputs, rewrite -f format to
preserve prefix/suffix text and honor width/precision.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant