aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVlad Tsyrklevich <vlad@tsyrklevich.net>2017-01-09 22:53:36 +0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-19 20:18:02 +0100
commitab8957396a692d46a357aec8ff57abc9bd5a878a (patch)
tree9f6cd882038171f8f9e07602907e56867dee14a9 /lib
parent93c94ec23faeea8d9a501b6188c701fc282672b1 (diff)
i2c: fix kernel memory disclosure in dev interface
commit 30f939feaeee23e21391cfc7b484f012eb189c3c upstream. i2c_smbus_xfer() does not always fill an entire block, allowing kernel stack memory disclosure through the temp variable. Clear it before it's read to. Signed-off-by: Vlad Tsyrklevich <vlad@tsyrklevich.net> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions