diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-08-10 18:02:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 08:59:06 -0700 |
commit | 89596f20bb5f0f32c37abd337d995080e04519c8 (patch) | |
tree | a4e0c01a5c8fa779229c6277aa7f836a1c09f2cf /net | |
parent | d929dc2bfd8a58c34f1df0680018fa8ea5caa907 (diff) |
i2o: check return code from put_user()
Check return value of put_user() and return -EFAULT if it failed.
Original comment "We did a get user...so assuming mem is ok...is this
bad?" is incorrect because memory can be read only.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions