diff options
| author | Greg Kroah-Hartman <greg@kroah.com> | 2005-03-01 00:18:03 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-01 00:18:03 -0800 |
| commit | 3de0270b3af4698a9615d427a60a4799e2995762 (patch) | |
| tree | 1e435f71a61f3f09e65cebe477b8e5b0a4040774 /include/linux/init_task.h | |
| parent | cd1496b6f40e04e5595db7dcfb16eaed439cd352 (diff) | |
[PATCH] sysfs: fix signedness problem
count is size_t, fill_write_buffer() may return a negative number
which would evade the 'count > 0' checks and do bad things.
found by the Coverity tool
Signed-off-by: Alexander Nyberg <alexn@dsv.su.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/init_task.h')
0 files changed, 0 insertions, 0 deletions
