]> git.baikalelectronics.ru Git - kernel.git/commit
staging: bcm2835-audio: allocate enough data for work queues
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Feb 2017 23:15:44 +0000 (02:15 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Feb 2017 18:19:45 +0000 (10:19 -0800)
commit9b7924be5cf34bdbf4ed61b9c1ae2a3697582a4b
tree14623709c9fba398bf616e7487965abf5373fa1e
parent267935de430703e5f7a0a073623f4ae30cd45de9
staging: bcm2835-audio: allocate enough data for work queues

We accidentally allocate sizeof(void *) bytes instead of 112 bytes.  It
results in memory corruption.

Fixes: db0400e21a28 ("staging: bcm2835-audio: initial staging submission")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm2835-audio/bcm2835-vchiq.c