Re: [Mjpeg-users] potential null deref in mpeg_open()

2009-07-24 Thread Steven Toth
On 7/19/09 7:47 AM, Dan Carpenter wrote: > Hello, > > I am testing a source checker (http://repo.or.cz/w/smatch.git) and it > found a bug in in mpeg_open() from drivers/media/video/cx23885/cx23885-417.c > > "dev" is null on line 1554, so on line 1558 dprintk() will cause a > kernel oops if it is in

[Mjpeg-users] potential null deref in mpeg_open()

2009-07-21 Thread Dan Carpenter
Hello, I am testing a source checker (http://repo.or.cz/w/smatch.git) and it found a bug in in mpeg_open() from drivers/media/video/cx23885/cx23885-417.c "dev" is null on line 1554, so on line 1558 dprintk() will cause a kernel oops if it is in debug mode. drivers/media/video/cx23885/cx23885-4