summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-11-29 22:51:47 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-01-25 03:13:00 -0500
commitb22e8fedc19588864a6ba0acefbbed06f05ba713 (patch)
treedb6badfb305598e47a867f399fe30ec38c304cb6 /kernel
parentd8ec26d7f8287f5788a494f56e8814210f0e64be (diff)
downloadlinux-b22e8fedc19588864a6ba0acefbbed06f05ba713.tar.gz
linux-b22e8fedc19588864a6ba0acefbbed06f05ba713.tar.bz2
linux-b22e8fedc19588864a6ba0acefbbed06f05ba713.zip
ecryptfs: fix failure handling in ->readlink()
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions