commit | 8bfe15f3de0af92fd822b7475878bddc93fa490d | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Sat Apr 17 12:01:35 2010 -0400 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Nov 30 20:51:36 2011 +0900 |
tree | 84f492cb22f6fde989989c8739a748dd387d57d0 | |
parent | 16b665543864904714f028b1d349f5d905f39afb [diff] |
Staging: android: timed_gpio: Properly discard invalid timeout values. The timed output device never previously checked the return value of sscanf, resulting in an uninitialized int being passed to enable() if input value was invalid. Signed-off-by: Mike Lockwood <lockwood@android.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>