From 4cd1cad0dea00daa03e1b54fdf2797a02373ad5b Mon Sep 17 00:00:00 2001 From: Apple Date: Mon, 21 Apr 2014 22:55:56 +0000 Subject: [PATCH] securityd-55199.3.tar.gz --- src/kcdatabase.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kcdatabase.cpp b/src/kcdatabase.cpp index 5899fbe..6d10379 100644 --- a/src/kcdatabase.cpp +++ b/src/kcdatabase.cpp @@ -199,8 +199,7 @@ KeychainDatabase::KeychainDatabase(const DLDbIdentifier &id, const DbBlob *blob, // check to see if we already know about this database DbIdentifier ident(id, blob->randomSignature); Session &session = process().session(); - StLock _(session); - if (KeychainDbCommon *dbcom = + if (RefPointer dbcom = session.findFirst(&KeychainDbCommon::identifier, ident)) { parent(*dbcom); //@@@ arbitrate sequence number here, perhaps update common().mParams -- 2.49.0