diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2016-02-16 14:25:00 +0100 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2016-03-04 10:26:42 +0000 |
| commit | 14aa81c8a236c657fbd1a0be4b6b07c02560dfe3 (patch) | |
| tree | b33d81953d05441c964d34fce63d0ac42704833e /kernel | |
| parent | a53a691d985baff0f67e2af51cd0f6e952155ce7 (diff) | |
drm/qxl: use kmalloc_array to alloc reloc_info in qxl_process_single_command
commit 34855706c30d52b0a744da44348b5d1cc39fbe51 upstream.
This avoids integer overflows on 32bit machines when calculating
reloc_info size, as reported by Alan Cox.
Cc: gnomes@lxorguk.ukuu.org.uk
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
