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 21:55:17 +0100 |
| commit | ed8c3cb1e66ac583ae461fef25b0cd01df1e50e7 (patch) | |
| tree | 26872b87d2ba3cb7e5d18a6e06714710d4dbb991 /lib/cpu-notifier-error-inject.c | |
| parent | dc4bc70259daba144f799e40a99413a86c601006 (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 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
