]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: Fix for #3184 cfuse segv with no keyring
authorSam Lang <sam.lang@inktank.com>
Mon, 24 Sep 2012 16:55:25 +0000 (09:55 -0700)
committerSage Weil <sage@inktank.com>
Tue, 11 Dec 2012 18:08:45 +0000 (10:08 -0800)
commitdfd310368267df848f2b65cc536b4ffcb039d353
tree0371b8641554e188c4660b07b00afce84538c265
parentacebcce91448421c34a72850a380fcd1aabe9f41
client: Fix for #3184 cfuse segv with no keyring

Fixes bug #3184 where the ceph-fuse client segfaults if authx is
enabled but no keyring file is present.  This was due to the
client->init() return value not getting checked.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
(cherry picked from commit 47983df4cbd31f299eef896b4612d3837bd7c7bd)
src/ceph_fuse.cc
src/client/Client.cc