From: Dan Carpenter Date: Mon, 15 Mar 2010 08:21:13 +0000 (+0300) Subject: udf: potential integer overflow X-Git-Tag: v2.6.34-rc4~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69ecbbedac8e353bbd924fad16fed0c7c54e6382;p=pandora-kernel.git udf: potential integer overflow bloc->logicalBlockNum is unsigned so it's never less than zero. When I saw that, it made me worry that "bloc->logicalBlockNum + count" could overflow. That's why I changed the check for less than zero to an overflow check. (The test works because "count" is also unsigned.) Signed-off-by: Dan Carpenter Signed-off-by: Jan Kara --- Reading git-diff-tree failed