Skip to content

Conversation

agampa263
Copy link
Contributor

No description provided.

@agampa263 agampa263 requested review from a team as code owners June 19, 2025 08:52
@@ -48,7 +48,7 @@ void displayHelp() {
printf("Usage : mfr_util [CMD] \n");
printf("CMDs are \n" );
printf("%5s -> %s \n","--help", "print this help.");
printf("%5s -> %s \n","--CurrentImageFilename", "Get current running imagename ");
printf("%5s -> %s \n", "Get current running imagename ");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverity Issue - Printf arg count mismatch

the format string requires additional arguments

Medium Impact, CWE-685
PW.TOO_FEW_PRINTF_ARGS

@@ -48,7 +48,7 @@ void displayHelp() {
printf("Usage : mfr_util [CMD] \n");
printf("CMDs are \n" );
printf("%5s -> %s \n","--help", "print this help.");
printf("%5s -> %s \n","--CurrentImageFilename", "Get current running imagename ");
printf("%5s -> %s \n", "Get current running imagename ");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverity Issue - Missing argument to printf format specifier

No argument for format specifier "%s".

Medium Impact, CWE-685
PRINTF_ARGS

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