Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cephx: Fix multiple segfaults due to attempts to encrypt or decrypt #9703

Merged
merged 1 commit into from Jul 11, 2016

Conversation

badone
Copy link
Contributor

@badone badone commented Jun 14, 2016

an empty secret and a null CryptoKeyHandler

http://tracker.ceph.com/issues/16266

Fixes: #16266
Signed-off-by: Brad Hubbard bhubbard@redhat.com

@badone
Copy link
Contributor Author

badone commented Jun 15, 2016

*** Deleting file `test/cephtool-test-mds.sh.log'

That looks like the mds test hang, known issue.

@@ -46,6 +46,12 @@ int CephxClientHandler::build_request(bufferlist& bl) const
return -ENOENT;
}

// is the key OK?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a space after if?

@tchaikov
Copy link
Contributor

tchaikov commented Jul 5, 2016

and might want to use Fixes: http://tracker.ceph.com/issues/16266 instead of Fixes: #16266 in your commit message.

@badone badone force-pushed the wip-cryptoKey-encrypt-segfault branch 2 times, most recently from 0263b36 to b25d697 Compare July 5, 2016 05:24
an empty secret and a null CryptoKeyHandler

Fixes: http://tracker.ceph.com/issues/16266
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
@badone badone force-pushed the wip-cryptoKey-encrypt-segfault branch from b25d697 to 009e777 Compare July 5, 2016 05:26
@tchaikov tchaikov self-assigned this Jul 5, 2016
@badone
Copy link
Contributor Author

badone commented Jul 7, 2016

retest this please.

@tchaikov
Copy link
Contributor

tchaikov commented Jul 8, 2016

lgtm.

@badone
Copy link
Contributor Author

badone commented Jul 8, 2016

retest this please

@tchaikov
Copy link
Contributor

tested in http://pulpito.ceph.com/kchai-2016-07-10_07:48:29-rados-wip-kefu-testing---basic-mira/

the non-environmental failures are addressed by #10234 .

@tchaikov tchaikov merged commit e9e3a23 into ceph:master Jul 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants