aboutsummaryrefslogtreecommitdiff
path: root/lib/spinlock_debug.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-01-07 16:41:54 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-24 14:54:27 -0800
commitadd80d75112c7884beedb9f4fe839a7399405075 (patch)
treedd2431ad0dd3a72289d750718b49c6cb872b17ed /lib/spinlock_debug.c
parentb28e91f84d37743741afae8b2d7b75a09910e702 (diff)
av7110: check for negative array offset
commit cb26a24ee9706473f31d34cc259f4dcf45cd0644 upstream. info->num comes from the user. It's type int. If the user passes in a negative value that would cause memory corruption. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions