diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-03-03 18:59:07 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-17 06:23:07 -0400 |
commit | 409bbf1e3da29aaf57b520e29f904db9c7c2475e (patch) | |
tree | 03c20d00e2f73e69d798a44720e746b104bb3c39 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 366d48070008a0846a099b23efef297451b05640 (diff) |
drm: Check if the allocation has succeeded before dereferencing newmode
We allocate memory in drm_display_mode_from_vic_index() and use it
without checking the pointer is valid. Fix that.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions