Skip to content

Conversation

jserv
Copy link
Contributor

@jserv jserv commented Mar 11, 2025

Printf-style functions can sometimes have mismatched format strings, leading to unexpected behavior and potential security vulnerabilities. This commit introduces a tool called "fmtscan" that scans C source files, validates format strings, and performs preliminary spell checks. The tool is integrated into the Git pre-commit hook to ensure safer code practices.

Change-Id: Ia8ef8d00724a7a141172426eb9f8bf1c9dec2701

Printf-style functions can sometimes have mismatched format strings,
leading to unexpected behavior and potential security vulnerabilities.
This commit introduces a tool called "fmtscan" that scans C source
files, validates format strings, and performs preliminary spell checks.
The tool is integrated into the Git pre-commit hook to ensure safer code
practices.

Change-Id: Ia8ef8d00724a7a141172426eb9f8bf1c9dec2701
@jserv jserv merged commit 5d61cfd into master Mar 11, 2025
4 checks passed
@jserv jserv deleted the add-fmtscan branch March 11, 2025 07:01
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