Skip to contentSkip to conversation

WARNING: refcount bug in find_key_to_update

DISCUSSION David Howells 1 participant 1 message Oct 18, 2019 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

David Howells

author maintainer
#1 lore raw
In reply to a message not in the archive

Review

Quoted 6 lines · Hillf Danton
(quoted diff) +1 -2
-			  (1 << KEY_FLAG_REVOKED))) {
+			  (1 << KEY_FLAG_REVOKED)) || !key_tryget(key)) {
 		kleave(" = NULL [x]");
 		return NULL;
 	}
-	__key_get(key);

That should be ineffective and ought not to fix the bug.

David