diff options
| author | Stefan Wahren <stefan.wahren@i2se.com> | 2016-10-31 17:39:27 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-07 13:05:47 +0300 |
| commit | 81a8b5427b9a85c5cf1f437346e76d6c643621b3 (patch) | |
| tree | e0e9e100eaeb43a2766f7a8f6463302440238690 /include/linux/timerqueue.h | |
| parent | 2ea15699281e81960cc4daadff4d325a1c94bf09 (diff) | |
| download | linux-81a8b5427b9a85c5cf1f437346e76d6c643621b3.tar.xz | |
staging: vchiq_core: fix service dereference in unlock_service
The service state is dereferenced before BUG_ON and outside of the
spin lock. So in order to avoid possible NULL pointer dereferences or
races move the whole scope at a safer place.
This issue has been found by Cppcheck.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
