diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2011-08-25 16:36:51 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-09-09 03:24:21 -0400 |
commit | 0e83bb4eee1c504ab98367b4f7d1bc337ab213d2 (patch) | |
tree | fac5c78b418ba4562cc02246dfbcd61c9032a90f /drivers/pcmcia/vrc4173_cardu.c | |
parent | 1bf27066017c820b8ab2a1ac8430ea470c2de0c3 (diff) |
drm/nv04/crtc: Bail out if FB is not bound to crtc
This commit resolves a possible 'NULL pointer dereference'
It uses the same approach as radeon, intel and nouveau/nv50
Fixes bug 'Nouveau: Kernel oops when unplugging external monitor'
https://bugs.freedesktop.org/show_bug.cgi?id=40336
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/pcmcia/vrc4173_cardu.c')
0 files changed, 0 insertions, 0 deletions