diff options
| author | Wolfram Stering <wolfram.stering@hale.at> | 2011-09-23 16:09:35 +0400 |
|---|---|---|
| committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-10-03 19:52:32 +0400 |
| commit | 8b53b7fb57e1ce3441b1a32f8374874b53c4bc31 (patch) | |
| tree | d7074d96318895062cc0bba363e4e843ff5ab560 /tools/perf/scripts/python/syscall-counts.py | |
| parent | f8798ccbefc0e4ef7438c080b7ba0410738c8cfa (diff) | |
| download | linux-8b53b7fb57e1ce3441b1a32f8374874b53c4bc31.tar.xz | |
mx3fb: fix NULL pointer dereference in screen blanking.
When blanking an already blanked framebuffer, a kernel NULL pointer
dereference occurred, because mx3fb driver handles all kinds of screen
blanking (normal, vsync suspend, powerdown) in the same way.
Certain programs (Xorg X11 server) first do a normal blank, followed by
a powerdown blank, which triggered the bug.
Add an additional safeguard and make sdc_disable_channel() safe against
multiple calls independent of other logic.
Signed-off-by: Michael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
