[lkml]   [2003]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectpromiscuous bttv parameter checking (2.4.21-pre3)

As of linux 2.4.21-pre3, bttv driver fails to check the "channel"
attribute correctly. This is caused because there is no check for
negative values on the channel parameter (at least ) in ioctls
VIDIOCGCHAN (bttv-driver.c:1510) and VIDIOCSCHAN (same file, at line
1537). Negative parameters, though invalid, are passed along.

While in the first case (VIDIOCGCHAN) I see no dark effects other than
the wacky channel name in the name member of the returned structure, it
is possible that passing the negative value in VIDIOCSCHAN spots
side-effects, specially in the function bt848_muxsel.

(A cc: went to the maintainer. Any questions please cc: me since I'm not
subscribed to the kernel mailing list).

Best regards,


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:4.140 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site