]> git.baikalelectronics.ru Git - kernel.git/commit
cr_backlight_probe() allocates too little storage for struct cr_panel
authorJesper Juhl <jesper.juhl@gmail.com>
Fri, 20 Jul 2007 07:31:47 +0000 (00:31 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 20 Jul 2007 15:44:20 +0000 (08:44 -0700)
commitb196b9eab6e4e5d39dc5ae072d46e3b345602e47
treeac71f22e810909df9f069c9d5638ed102da0565d
parent2dd14ea103feaba07090c552b8bf797dac1ee890
cr_backlight_probe() allocates too little storage for struct cr_panel

The Coverity checker noticed that we allocate too little storage for
"struct cr_panel *crp" in cr_backlight_probe().

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Thomas Hellstrom <thomas@tungstengraphics.com>
Cc: Alan Hourihane <alanh@tungstengraphics.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/cr_bllcd.c