diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-06 17:36:37 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-18 19:09:58 +0800 |
commit | e71c7bad68449a59e4e411257420916397cdff85 (patch) | |
tree | 31a57858b7cb73992902bb4f7ac41a751dde05e9 /include/linux/fpga/fpga-mgr.h | |
parent | 6498086195b9d6939293d35e93b804228158eb7f (diff) |
USB: serial: io_ti: fix NULL-deref in interrupt callback
commit 0b1d250afb8eb9d65afb568bac9b9f9253a82b49 upstream.
Fix a NULL-pointer dereference in the interrupt callback should a
malicious device send data containing a bad port number by adding the
missing sanity check.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions