summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-07-10 17:58:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-09 08:31:36 -0700
commit664634f8a03e721a7fffb5f1e21cbdd806598cda (patch)
tree7ac4078aee20f705905be154ef083e7796ae4b8e /Kbuild
parent06e619c5073d1830f58039cd97e95ae184cf7bbb (diff)
udf: Improve table length check to avoid possible overflow
commit 57b9655d01ef057a523e810d29c37ac09b80eead upstream. When a partition table length is corrupted to be close to 1 << 32, the check for its length may overflow on 32-bit systems and we will think the length is valid. Later on the kernel can crash trying to read beyond end of buffer. Fix the check to avoid possible overflow. Reported-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions