commit | ddc25bdd2b7f34667111714fafc9c04f6ad97fee | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Wed Jan 07 13:15:22 2015 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Jan 10 11:13:35 2015 +0000 |
tree | 6adbb65c734300631f9d413f7ac16a6e6b5ee0d3 | |
parent | 8ecb55b849b74dff026681b41266970072b207dd [diff] |
iio: dht11: Fix out-of-bounds read As we access i-1 we must not start with i=0. Signed-off-by: Richard Weinberger <richard@nod.at> Acked-by: Hartmut Knaack <knaack.h@gmx.de> Acked-by: Harald Geyer <harald@ccbib.org> Reviewed-by: Sanjeev Sharma <sanjeev_sharma@mentor.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>