diff options
| author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2016-08-25 23:14:12 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-17 10:07:12 +0100 |
| commit | e643399ec4d9ce7dd20771bfdfcc41f36cd63086 (patch) | |
| tree | 04a0f0cea636895fc519971b477193c8cf10e5ec /net/lapb/lapb_subr.c | |
| parent | 1bb31e3fbbdb8fd4c64cfbd7715229b32b795662 (diff) | |
matroxfb: fix size of memcpy
commit 59921b239056fb6389a865083284e00ce0518db6 upstream.
hw->DACreg has a size of 80 bytes and MGADACbpp32 has 21. So when
memcpy copies MGADACbpp32 to hw->DACreg it copies 80 bytes but
only 21 bytes are valid.
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
