linux/drivers/media
matthieu castet 81dae6716f V4L/DVB (11832): dibusb_mc: fix i2c to not corrupt eeprom in case of strange read pattern
dibusb_i2c_xfer seems to do things very dangerous :
it assumes that it get only write/read request or write request.

That means that read can be understood as write. For example a program
doing
file = open("/dev/i2c-x", O_RDWR);
    ioctl(file, I2C_SLAVE, 0x50)
read(file, data, 10)
    will corrupt the eeprom as it will be understood as a write.

Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-16 18:21:09 -03:00
..
common V4L/DVB (11806): xc5000: add copyright line 2009-06-16 18:21:08 -03:00
dvb V4L/DVB (11832): dibusb_mc: fix i2c to not corrupt eeprom in case of strange read pattern 2009-06-16 18:21:09 -03:00
radio V4L/DVB (11677): radio-fm16: fix g_tuner. 2009-06-16 18:21:01 -03:00
video V4L/DVB (11827): Add support for Terratec Grabster AV350 2009-06-16 18:21:08 -03:00
Kconfig V4L/DVB (10633): DAB: fix typo 2009-03-30 12:42:49 -03:00
Makefile V4L/DVB (8274): sms1xxx: build cleanup after driver relocation 2008-07-20 07:20:56 -03:00