diff options
| author | Len Brown <len.brown@intel.com> | 2026-05-04 15:38:34 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2026-10-19 10:19:52 -0400 |
| commit | e817a533bbc0aef5a9cb6255153941ed968d2fb1 (patch) | |
| tree | ae07c18b266b886fdfe7f12f5b385c77939e6416 /scripts/Makefile.thinlto | |
| parent | e1708e514a368ca2cb05a5c6e122919005027bad (diff) | |
| download | linux-e817a533bbc0aef5a9cb6255153941ed968d2fb1.tar.gz linux-e817a533bbc0aef5a9cb6255153941ed968d2fb1.zip | |
tools/power turbostat: pmt: Improve sscanf() hygiene
Explicitly check sscanf() return values for number of matches,
and handle EOF (-1).
Defensive programming -- not an issue actively seen by users.
Fixes: 4265a86582ea ("tools/power turbostat: Add PMT directory iterator helper")
Assisted-by: Claude:claude-sonnet-4.6
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
