diff options
| author | Johan Hovold <johan@kernel.org> | 2017-03-16 11:37:01 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-06-17 15:54:14 +0200 |
| commit | 6f7921c1b661ad40ce9903d3774853b736251638 (patch) | |
| tree | 107700788f7cbab2dad7fd20f7e32b00a6f4b009 /include/linux/pps_kernel.h | |
| parent | 5b4b04c5ff6a84431e41113ed3479ad302ebae09 (diff) | |
Input: yealink - validate number of endpoints before using them
commit 5cc4a1a9f5c179795c8a1f2b0f4361829d6a070e upstream.
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.
Fixes: aca951a22a1d ("[PATCH] input-driver-yealink-P1K-usb-phone")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions
