From 1b1290e5bac8791cf613ead70dab54d06f1e8489 Mon Sep 17 00:00:00 2001 From: Wenliang Fan Date: Fri, 20 Dec 2013 19:07:38 +0800 Subject: [PATCH] drivers/staging/bcm: Integer overflow The checking condition in 'validateFlash2xReadWrite()' is not sufficient. A large number invalid would cause an integer overflow and pass the condition, which could cause further integer overflows in 'Bcmchar.c:bcm_char_ioctl()'. Signed-off-by: Wenliang Fan Reviewed-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed