Re: kernel NULL pointer dereference - (kraxel3, video4linux-20031208, 2.6.0-test11)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Greg Wickham <greg.wickham@xxxxxxxxxxxxx> writes:

> Ideas?

==============================[ cut here ]==============================
--- video4linux/saa7134-ts.c~	2003-11-26 11:25:37.000000000 +0100
+++ video4linux/saa7134-ts.c	2003-12-11 10:43:39.626360704 +0100
@@ -200,7 +200,7 @@
 	
 	list_for_each(list,&saa7134_devlist) {
 		h = list_entry(list, struct saa7134_dev, devlist);
-		if (h->ts_dev->minor == minor)
+		if (h->ts_dev && h->ts_dev->minor == minor)
 			dev = h;
 	}
 	if (NULL == dev)




[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux