https://github.com/torvalds/linux
Revision 1d55f6bcc0331d744cd5b56c4ee79e3809438161 authored by Mikulas Patocka on 26 September 2012, 22:45:48 UTC, committed by Alasdair G Kergon on 26 September 2012, 22:45:48 UTC
This patch fixes sector_t overflow checking in dm-verity.

Without this patch, the code checks for overflow only if sector_t is
smaller than long long, not if sector_t and long long have the same size.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
1 parent 0424caa
History
Tip revision: 1d55f6bcc0331d744cd5b56c4ee79e3809438161 authored by Mikulas Patocka on 26 September 2012, 22:45:48 UTC
dm verity: fix overflow check
Tip revision: 1d55f6b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 210.8 KB
Makefile -rw-r--r-- 46.1 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top