diff options
author | Jan Nikitenko <jan.nikitenko@gmail.com> | 2009-06-18 08:11:57 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-08-13 20:39:02 -0300 |
commit | 458f9aa391efd34867f8cabac2e2f1af00cbc562 (patch) | |
tree | 72b5a9baf0ea344e36ec6db04b507dae3b4233f5 /drivers/md/.gitignore | |
parent | 296544e15a7126373851abd40acc526b79b91432 (diff) |
V4L/DVB (12341): zl10353 and qt1010: fix stack corruption bug
Fixes stack corruption bug present in dump_regs function of zl10353 and
qt1010 drivers: the buffer buf was one byte smaller than required -
there are 4 chars for address prefix, 16 * 3 chars for dump of 16 eeprom
bytes per line and 1 byte for zero ending the string required, i.e. 53
bytes, but only 52 were provided.
The one byte missing in stack based buffer buf can cause stack
corruption possibly leading to kernel oops, as discovered originally
with af9015 driver (af9015: fix stack corruption bug).
Signed-off-by: Jan Nikitenko <jan.nikitenko@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/md/.gitignore')
0 files changed, 0 insertions, 0 deletions