diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2012-02-12 02:56:59 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-14 03:24:26 +0400 |
commit | 70142a9dd154f54f7409871ead86f7d77f2c6576 (patch) | |
tree | 03fd5ce309758ae27c0127159e6ab80df998ebd7 /scripts | |
parent | da5a70f3519fd6f73ece3eea261a861c9a4d6bbd (diff) | |
download | linux-70142a9dd154f54f7409871ead86f7d77f2c6576.tar.xz |
x86/cpu: Fix overrun check in arch_print_cpu_modalias()
snprintf() does not return a negative value when truncating.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Thomas Renninger <trenn@suse.de>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions