commit | c2c65cd2e14ada6de44cb527e7f1990bede24e15 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Oct 29 22:07:47 2013 +0300 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Oct 30 12:24:49 2013 -0700 |
tree | 0f86f684fe16bd0bb933387b4d0052416df670bc | |
parent | 201f99f170df14ba52ea4c52847779042b7a623b [diff] |
staging: ozwpan: prevent overflow in oz_cdev_write() We need to check "count" so we don't overflow the ei->data buffer. Reported-by: Nico Golde <nico@ngolde.de> Reported-by: Fabian Yamaguchi <fabs@goesec.de> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: stable@kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>