mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 23:59:49 +00:00
LibCore+LibJS+LibWasm: Always use a real format string
It's generally considered a security issue to use non-format string literals. We would likely just crash in practice, but let's avoid the issue altogether.
This commit is contained in:
parent
cd72e788e9
commit
64d290447c
Notes:
github-actions[bot]
2025-04-09 00:01:33 +00:00
Author: https://github.com/trflynn89
Commit: 64d290447c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4286
3 changed files with 11 additions and 11 deletions
|
@ -384,7 +384,7 @@ void ArgsParser::print_version(FILE* file)
|
|||
{
|
||||
// FIXME: Allow applications to override version string for --version.
|
||||
// Especially useful for Lagom applications
|
||||
outln(file, Core::Version::read_long_version_string());
|
||||
outln(file, "{}", Core::Version::read_long_version_string());
|
||||
}
|
||||
|
||||
void ArgsParser::add_option(Option&& option)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue