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:
d8ec26d
)
ecryptfs: fix failure handling in ->readlink()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 30 Nov 2013 03:51:47 +0000
(22:51 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 25 Jan 2014 08:13:00 +0000
(
03:13
-0500)
If ecryptfs_readlink_lower() fails, buf remains an uninitialized
pointer and passing it nd_set_link() won't do anything good.
Fixed by switching ecryptfs_readlink_lower() to saner API - make it
return buf or ERR_PTR(...) and update callers.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
No differences found