summaryrefslogtreecommitdiffstats
path: root/Documentation/connector/connector.txt
diff options
context:
space:
mode:
authorKulikov Vasiliy <segooon@gmail.com>2010-08-10 18:02:03 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 08:59:05 -0700
commitd929dc2bfd8a58c34f1df0680018fa8ea5caa907 (patch)
tree4efe31c289c00b4ce00b30fce956df5401d6fdde /Documentation/connector/connector.txt
parent32fa45498f843fcf56087b8046d8319fcd455ef0 (diff)
i2o: fix overflow of copy_to_user()
If (len > reslen) we must not call copy_to_user() since kernel buffer is smaller than we want to copy. Similar code in this file is correct, so this bug was a typo. 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 'Documentation/connector/connector.txt')
0 files changed, 0 insertions, 0 deletions