summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/s3c2440-cpufreq.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2018-08-01 12:36:52 -0400
committerTheodore Ts'o <tytso@mit.edu>2018-08-01 12:36:52 -0400
commit7d95178c77014dbd8dce36ee40bbbc5e6c121ff5 (patch)
treee5e343d20f0e2ba6efb9eaf970683c4ebc1c68df /drivers/cpufreq/s3c2440-cpufreq.c
parent5ef2a69993676a0dfd49bf60ae1323eb8a288366 (diff)
ext4: check for NUL characters in extended attribute's name
Extended attribute names are defined to be NUL-terminated, so the name must not contain a NUL character. This is important because there are places when remove extended attribute, the code uses strlen to determine the length of the entry. That should probably be fixed at some point, but code is currently really messy, so the simplest fix for now is to simply validate that the extended attributes are sane. https://bugzilla.kernel.org/show_bug.cgi?id=200401 Reported-by: Wen Xu <wen.xu@gatech.edu> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/cpufreq/s3c2440-cpufreq.c')
0 files changed, 0 insertions, 0 deletions