Re: [PATCH]videobuf-core.c: add pointer check

2009-06-15 Thread Figo.zhang
On Sun, 2009-06-07 at 09:21 +0800, Figo.zhang wrote: > On Sun, 2009-06-07 at 09:16 +0800, Figo.zhang wrote: > > On Wed, 2009-06-03 at 10:01 +0800, Figo.zhang wrote: > > > add poiter check for videobuf_queue_core_init(). > > > > > > any guys who write a v4l driver, pass a NULL pointer or a non-inin

Re: [PATCH]videobuf-core.c: add pointer check

2009-06-06 Thread Figo.zhang
On Sun, 2009-06-07 at 09:16 +0800, Figo.zhang wrote: > On Wed, 2009-06-03 at 10:01 +0800, Figo.zhang wrote: > > add poiter check for videobuf_queue_core_init(). > > > > any guys who write a v4l driver, pass a NULL pointer or a non-inintial > > pointer to the first parameter such as videobuf_queue_

Re: [PATCH]videobuf-core.c: add pointer check

2009-06-04 Thread figo.zhang
On Wed, 2009-06-03 at 10:01 +0800, Figo.zhang wrote: > add poiter check for videobuf_queue_core_init(). > > any guys who write a v4l driver, pass a NULL pointer or a non-inintial > pointer to the first parameter such as videobuf_queue_sg_init() , it > would be crashed. > > Signed-off-by: Figo.zh

[PATCH]videobuf-core.c: add pointer check

2009-06-02 Thread Figo.zhang
add poiter check for videobuf_queue_core_init(). any guys who write a v4l driver, pass a NULL pointer or a non-inintial pointer to the first parameter such as videobuf_queue_sg_init() , it would be crashed. Signed-off-by: Figo.zhang --- drivers/media/video/videobuf-core.c |1 + 1 files cha