git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd43548
)
hexagon: fix strncpy_from_user() error return
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 19 Aug 2016 01:16:49 +0000
(21:16 -0400)
committer
Ben Hutchings
<ben@decadent.org.uk>
Sun, 20 Nov 2016 01:01:38 +0000
(
01:01
+0000)
commit
f35c1e0671728d1c9abc405d05ef548b5fcb2fc4
upstream.
It's -EFAULT, not -1 (and contrary to the comment in there,
__strnlen_user() can return 0 - on faults).
Acked-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
No differences found