summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
authorSimon Derr <simon.derr@bull.net>2014-03-11 10:14:15 +0100
committerEric Van Hensbergen <ericvh@gmail.com>2014-03-25 16:38:19 -0500
commit8a5daf1e2c199746767d94b4036638ba11d528b3 (patch)
treeb83a433f7d4662f807dc74677e68a70186542b38 /net/bluetooth/hci_event.c
parent263c582888d3cd2a5c8e32225140723ec31f1709 (diff)
downloadop-kernel-dev-8a5daf1e2c199746767d94b4036638ba11d528b3.zip
op-kernel-dev-8a5daf1e2c199746767d94b4036638ba11d528b3.tar.gz
9pnet_rdma: check token type before int conversion
When parsing options, make sure we have found a proper token before doing a numeric conversion. Without this check, the current code will end up following random pointers that just happened to be on the stack when this function was called, because match_token() will not touch the 'args' list unless a valid token is found. Signed-off-by: Simon Derr <simon.derr@bull.net> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/bluetooth/hci_event.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud