commit | be85d6c380dec129f6a9a8553290145fcd4cdf7c | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Tue Aug 10 15:36:46 2021 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Aug 10 15:36:46 2021 -0400 |
tree | b95e2e5ccf3f6578bd6d66c7e630345a960f41f1 | |
parent | 95954ac7b4bb0ffb6dffa101ef6d575ff228dd1a [diff] |
e2fsck: add maximum string length specifiers to fscanf format strings When parsing strings from /proc/apm and /proc/acpi/ac_adapter, add string length limits to prevent possible buffer overruns. Addresses-Coverty-Bug: 1297496 Signed-off-by: Theodore Ts'o <tytso@mit.edu>