summaryrefslogtreecommitdiff
path: root/drivers/cdrom
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2012-10-21 23:59:20 (GMT)
committerBen Skeggs <bskeggs@redhat.com>2012-10-22 02:26:46 (GMT)
commit00e4845bad84689fbaacc86bc54a0b99d5d3c1fc (patch)
treea7fa743dbd353225e82d7bb029b8fcbe6743b3f0 /drivers/cdrom
parent0bab097a9b18d7ad1a65c9263b3f896fc1f4b6ff (diff)
downloadlinux-fsl-qoriq-00e4845bad84689fbaacc86bc54a0b99d5d3c1fc.tar.xz
drm/nouveau: validate vbios size
Without checking, we could detect vbios size as 0, allocate 0-byte array (kmalloc returns invalid pointer for such allocation) and crash in nouveau_bios_score while checking for vbios signature. Reported-by: Heinz Diehl <htd@fritha.org> Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions