public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tm6000: fix vbuf may be used uninitialized
@ 2011-03-24 20:07 Jarod Wilson
  2011-03-24 20:31 ` Dan Carpenter
  2011-04-12 18:48 ` [PATCH v2] " Jarod Wilson
  0 siblings, 2 replies; 6+ messages in thread
From: Jarod Wilson @ 2011-03-24 20:07 UTC (permalink / raw)
  To: linux-media; +Cc: Jarod Wilson, devel

Signed-off-by: Jarod Wilson <jarod@redhat.com>
CC: devel@driverdev.osuosl.org
---
 drivers/staging/tm6000/tm6000-video.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/tm6000/tm6000-video.c b/drivers/staging/tm6000/tm6000-video.c
index c80a316..bfebedd 100644
--- a/drivers/staging/tm6000/tm6000-video.c
+++ b/drivers/staging/tm6000/tm6000-video.c
@@ -228,7 +228,7 @@ static int copy_streams(u8 *data, unsigned long len,
 	unsigned long header = 0;
 	int rc = 0;
 	unsigned int cmd, cpysize, pktsize, size, field, block, line, pos = 0;
-	struct tm6000_buffer *vbuf;
+	struct tm6000_buffer *vbuf = NULL;
 	char *voutp = NULL;
 	unsigned int linewidth;
 
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-04-15  3:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-24 20:07 [PATCH] tm6000: fix vbuf may be used uninitialized Jarod Wilson
2011-03-24 20:31 ` Dan Carpenter
2011-03-24 22:05   ` Jarod Wilson
2011-04-11 21:48     ` Jarod Wilson
2011-04-12 18:48 ` [PATCH v2] " Jarod Wilson
2011-04-15  2:04   ` Dmitri Belimov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox