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

mds: fix bad iterator dereference reported by coverity #13272

Merged
merged 1 commit into from Feb 14, 2017

Conversation

Projects
None yet
3 participants
@jcsp
Contributor

jcsp commented Feb 6, 2017

@@ -471,7 +471,7 @@ bool Locker::acquire_locks(MDRequestRef& mdr,
}
// hose any stray locks
if (*existing == *p) {
if (existing != mds->locks.end() && *existing == *p) {

This comment has been minimized.

@gregsfortytwo

gregsfortytwo Feb 6, 2017

Member

s/mds/mdr/

mds: fix bad iterator dereference reported by coverity
Fixes: http://tracker.ceph.com/issues/18830
Signed-off-by: John Spray <john.spray@redhat.com>
@ukernel

ukernel approved these changes Feb 7, 2017

@jcsp jcsp merged commit c0bd882 into ceph:master Feb 14, 2017

2 of 3 checks passed

default Build finished.
Details
Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details

@jcsp jcsp deleted the jcsp:wip-18830 branch Feb 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment