summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/zc0301/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-02-24 21:35:59 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-24 21:35:59 -0300
commit9640ff21c81761b4f6e6c997fda71717a20bb885 (patch)
treeb0cf6b1b6b79e0d3b11a46d1b9425db4180d4c25 /linux/drivers/media/video/zc0301/Kconfig
parentb8fc485e6b70590178b108ef66e954d175c322fe (diff)
downloadmediapointer-dvb-s2-9640ff21c81761b4f6e6c997fda71717a20bb885.tar.gz
mediapointer-dvb-s2-9640ff21c81761b4f6e6c997fda71717a20bb885.tar.bz2
From: Mauro Carvalho Chehab <mchehab@infradead.org>
simple_set_tv() creates a buffer with 4 elements, and calls simple_std_setup(), passing &buffer[1]. This makes the 5th element of buffer to be initialized to 0, overriding some area outside the buffer. Also, simple_std_setup() receives a buffer as parameter, but the buffer is just overriden after the call, so, it doesn't make much sense to pass it as a parameter. This patch removes buffer[] from the function call, creating, instead, a local var to be used internally. Thanks to Axel Rometsch <axel.rometsch@freenet.de> for pointing the issue. Reviewed-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/zc0301/Kconfig')
0 files changed, 0 insertions, 0 deletions