diff options
| author | Sudip Mukherjee <[email protected]> | 2016-08-25 17:44:12 +0000 |
|---|---|---|
| committer | Tomi Valkeinen <[email protected]> | 2016-09-27 08:43:24 +0000 |
| commit | 59921b239056fb6389a865083284e00ce0518db6 (patch) | |
| tree | 485d9c910c5a7217bf6ddd41d74063e5b7d4bc5e /net/switchdev/switchdev.c | |
| parent | fbdev: ssd1307fb: fix a possible NULL dereference (diff) | |
| download | kernel-59921b239056fb6389a865083284e00ce0518db6.tar.gz kernel-59921b239056fb6389a865083284e00ce0518db6.zip | |
matroxfb: fix size of memcpy
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 <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
