Skip to content

Commit

Permalink
Fix code scanning alert no. 9: Uncontrolled format string
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
fgalan and github-advanced-security[bot] authored Nov 8, 2024
1 parent fec7146 commit c0f90f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/logMsg/logMsg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2378,7 +2378,7 @@ LmStatus lmOut
}
else
{
snprintf(line, logLineMaxSize, format, text);
snprintf(line, logLineMaxSize, "%s", text);
}
}

Expand Down

0 comments on commit c0f90f0

Please sign in to comment.