summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/industrialio-core.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-03-02 09:59:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-02 16:32:21 -0800
commit92a6253299d74833a36edb94d5a4bc541418b17a (patch)
tree2a1b9702e8e93c8e6877948b5b0fb6935e3dc7b0 /drivers/staging/iio/industrialio-core.c
parentf2e332662bd38d1656ff31cf398de5a4ab15684c (diff)
downloadop-kernel-dev-92a6253299d74833a36edb94d5a4bc541418b17a.zip
op-kernel-dev-92a6253299d74833a36edb94d5a4bc541418b17a.tar.gz
Staging: ozwpan: prevent bogus dereference
app_id comes from the network and can't be trusted. If it's zero then it will lead to a kernel crash. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Chris Kelly <ckelly@ozmodevices.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/industrialio-core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud