diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2010-02-15 23:24:49 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-02-25 15:09:11 +1000 |
commit | 761c5a69751967f4fe7430eb65b3a0ea92f3b673 (patch) | |
tree | 4fef8a28592b49b047d9d17d6c9b6f77c3c42a9a /drivers/gpu/drm/nouveau/nouveau_i2c.h | |
parent | b762b8ce53da7c7a7a4d660878887681c86be61b (diff) |
drm/nouveau: fix i2ctable bounds checking
i2c_entries seems to be the number of i2c entries,
so with index equal to this number, we could read
invalid data from i2ctable. Fix it.
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_i2c.h')
0 files changed, 0 insertions, 0 deletions