]> err.no Git - linux-2.6/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)
commite3bbb3f05339de438faf54124f25c92e6fe4ac2e
treeac71f22e810909df9f069c9d5638ed102da0565d
parenteb0645a8b1f14da300f40bb9f424640cd1181fbf
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