aboutsummaryrefslogtreecommitdiffstats
path: root/tests/amdgpu/deadlock_tests.c
diff options
context:
space:
mode:
authorAndreas Baierl <ichgeh@imkreisrum.de>2019-03-11 16:04:08 +0100
committerEric Engestrom <eric.engestrom@intel.com>2019-03-12 11:55:31 +0000
commit4735ca71af9f741e2438104d543dc3c5a8107f35 (patch)
tree538e27b946988fdc625bd024c445e0c11c0b613e /tests/amdgpu/deadlock_tests.c
parent0b032a645e5d6e63e50792d9ce999c863b166c58 (diff)
downloadexternal_libdrm-4735ca71af9f741e2438104d543dc3c5a8107f35.tar.gz
external_libdrm-4735ca71af9f741e2438104d543dc3c5a8107f35.tar.bz2
external_libdrm-4735ca71af9f741e2438104d543dc3c5a8107f35.zip
xf86drm: Fix segmentation fault while parsing device info
This fixes a bug, which was introduced with commit ee798b98 "xf85drm: de-duplicate drmParse{Platform.Host1x}{Bus,Device}Info". where accessing *compatible[i] with i>0 results in a segfault. Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de> Fixes: ee798b98479709acdd8d "xf85drm: de-duplicate drmParse{Platform.Host1x}{Bus,Device}Info" Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> [Eric: add the same fix to the free() below] Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Diffstat (limited to 'tests/amdgpu/deadlock_tests.c')
0 files changed, 0 insertions, 0 deletions