Skip to content

process58: bound sscanf perm field in get_exec_shield_status#2346

Open
Mab879 wants to merge 1 commit intoOpenSCAP:mainfrom
Mab879:cursor/process58-sscanf-bounds
Open

process58: bound sscanf perm field in get_exec_shield_status#2346
Mab879 wants to merge 1 commit intoOpenSCAP:mainfrom
Mab879:cursor/process58-sscanf-bounds

Conversation

@Mab879
Copy link
Copy Markdown
Member

@Mab879 Mab879 commented May 4, 2026

Use %7s and larger buffer; read maps lines with fgets(buf, sizeof(buf)).

Fixes https://github.com/OpenSCAP/openscap/security/code-scanning/1589

Use %7s and larger buffer; read maps lines with fgets(buf, sizeof(buf)).

Co-authored-by: Cursor <cursoragent@cursor.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 4, 2026

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