diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2019-03-01 10:09:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-02 09:40:31 +0200 |
commit | 01b6f50f90387c1f020bcf3cd684d24e3f0c16c5 (patch) | |
tree | 61d88776f741e9647e38a0c52a0091ca269c81da /drivers/android/binder_alloc.c | |
parent | da0bbf51bdcb043fad034b6ccabc0775bd5397bc (diff) |
intel_th: gth: Fix an off-by-one in output unassigning
commit 91d3f8a629849968dc91d6ce54f2d46abf4feb7f upstream.
Commit 9ed3f22223c3 ("intel_th: Don't reference unassigned outputs")
fixes a NULL dereference for all masters except the last one ("256+"),
which keeps the stale pointer after the output driver had been unassigned.
Fix the off-by-one.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Fixes: 9ed3f22223c3 ("intel_th: Don't reference unassigned outputs")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder_alloc.c')
0 files changed, 0 insertions, 0 deletions