Ben Wiederhake
2e4ec891da
Everywhere: Fix format-vulnerabilities
...
Command used:
grep -Pirn '(out|warn)ln\((?!["\)]|format,|stderr,|stdout,|output, ")' \
AK Kernel/ Tests/ Userland/
(Plus some manual reviewing.)
Let's pick ArgsParser as an example:
outln(file, m_general_help);
This will fail at runtime if the general help happens to contain braces.
Even if this transformation turns out to be unnecessary in a place or
two, this way the code is "more obviously" correct.
2021-09-11 15:16:26 +01:00
..
2021-09-01 11:37:25 +04:30
2021-09-01 11:37:25 +04:30
2021-08-01 08:10:16 +02:00
2021-07-07 18:02:43 +02:00
2021-09-11 15:16:26 +01:00
2021-08-15 01:22:45 +02:00
2021-09-02 16:17:18 +01:00
2021-08-01 08:10:16 +02:00
2021-08-24 18:17:09 +02:00
2021-08-22 01:32:25 +02:00
2021-08-19 19:15:00 +01:00
2021-08-19 19:15:00 +01:00
2021-09-02 03:47:47 +04:30
2021-07-03 16:43:08 +02:00
2021-09-02 03:47:47 +04:30
2021-09-02 03:47:47 +04:30
2021-09-02 03:47:47 +04:30
2021-08-20 15:31:46 +02:00
2021-08-20 15:31:46 +02:00
2021-08-20 15:31:46 +02:00
2021-08-01 08:10:16 +02:00
2021-09-02 03:47:47 +04:30
2021-09-01 11:37:25 +04:30
2021-09-01 11:37:25 +04:30
2021-09-06 01:53:26 +02:00
2021-07-01 17:49:18 +02:00
2021-07-01 17:49:18 +02:00
2021-09-01 11:37:25 +04:30
2021-09-01 11:37:25 +04:30
2021-05-24 18:55:56 +01:00
2021-08-01 08:10:16 +02:00
2021-09-10 18:05:46 +03:00
2021-09-10 18:05:46 +03:00
2021-08-06 01:29:09 +02:00
2021-08-06 01:04:11 +02:00
2021-07-18 22:08:26 +02:00
2021-07-18 22:08:26 +02:00
2021-07-15 11:11:14 +02:00
2021-08-13 20:30:19 +04:30
2021-08-13 20:30:19 +04:30
2021-06-16 09:10:48 +02:00
2021-06-16 09:10:48 +02:00
2021-09-06 01:53:26 +02:00
2021-09-02 16:17:18 +01:00
2021-09-02 16:17:18 +01:00