Skip to content

SWDEV-532052 - Auto Generated CodeQL Fix for alert 331 - #246

Closed
rocm-devops wants to merge 1 commit into
amd-stagingfrom
amd/dev/swjenci/SWDEV-532052/codeql-fix-331
Closed

rocm-devops wants to merge 1 commit into
amd-stagingfrom
amd/dev/swjenci/SWDEV-532052/codeql-fix-331

Conversation

@rocm-devops

Copy link
Copy Markdown
Contributor

Alert#331 - Too few arguments to formatting function

Alert url: https://github.com/AMD-ROCm-Internal/clr/security/code-scanning/331

Alert severity: medium

Explanation:
The format string on line 3282–3283 has three placeholders (%u, %u, %u) but was only supplied with two arguments (ihandle->psize and flags). Adding ihandle->poffset as the second argument ensures that all placeholders are matched properly.

{alert_number} - This commit is auto-generated by the CodeQL Fix tool.

Signed-off-by: Jenkins, Sw <Sw.Jenkins@amd.com>
@rocm-devops

Copy link
Copy Markdown
Contributor Author

Imported to ROCm/rocm-systems

JeniferC99 pushed a commit that referenced this pull request 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.

2 participants