]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: pvrusb2: Fix minor internal array allocation
authorMike Isely <isely@pobox.com>
Sat, 15 May 2010 03:28:44 +0000 (00:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 1 Jun 2010 04:19:56 +0000 (01:19 -0300)
commit4093d476fefa81858f09a84d3285fd4d501505b9
treeecb7902b2b8795caf53d648e4b4c3d5ebae6c56e
parent1b5a91a16d9cf271397b08c86220cad11f718e4b
V4L/DVB: pvrusb2: Fix minor internal array allocation

pvrusb2: Need one extra attribute slot allocated so that worst case still has a
trailing null pointer.  This wasn't causing visible symptoms; it was
found through inspection while investigating other issues.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pvrusb2/pvrusb2-sysfs.c