commit | 2fd62fb317e4b37af8b9f254acc1dca8a047488f | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Sat Apr 17 12:01:35 2010 -0400 |
committer | Colin Cross <ccross@android.com> | Tue Jun 14 09:09:29 2011 -0700 |
tree | 98aba7fb0653f6c0c3188c490101ad57a2fc8004 | |
parent | 2d8ee1f03600ce1f21322209b6005fd7796bb25a [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>