Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 637038 Details for
Bug 872124
nss 3.14 breaks fedpkg new-sources
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed fix
0001-RHBZ-872124-fix-double-lock-in-PK11_Sign.patch (text/plain), 1.46 KB, created by
Kamil Dudka
on 2012-11-02 11:11:12 UTC
(
hide
)
Description:
proposed fix
Filename:
MIME Type:
Creator:
Kamil Dudka
Created:
2012-11-02 11:11:12 UTC
Size:
1.46 KB
patch
obsolete
>From 3cd8fe34d43464c8cb7bd986f851f2ca762c2512 Mon Sep 17 00:00:00 2001 >From: Kamil Dudka <kdudka@redhat.com> >Date: Fri, 2 Nov 2012 12:06:36 +0100 >Subject: [PATCH] RHBZ#872124 - fix double-lock in PK11_Sign() > >--- > mozilla/security/nss/lib/pk11wrap/pk11obj.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/mozilla/security/nss/lib/pk11wrap/pk11obj.c b/mozilla/security/nss/lib/pk11wrap/pk11obj.c >index 7569d26..5fb47eb 100644 >--- a/mozilla/security/nss/lib/pk11wrap/pk11obj.c >+++ b/mozilla/security/nss/lib/pk11wrap/pk11obj.c >@@ -747,8 +747,8 @@ PK11_Sign(SECKEYPrivateKey *key, SECItem *sig, SECItem *hash) > session = pk11_GetNewSession(slot,&owner); > if (!owner || !(slot->isThreadSafe)) PK11_EnterSlotMonitor(slot); > crv = PK11_GETTAB(slot)->C_SignInit(session,&mech,key->pkcs11ID); >+ if (!owner || !(slot->isThreadSafe)) PK11_ExitSlotMonitor(slot); > if (crv != CKR_OK) { >- if (!owner || !(slot->isThreadSafe)) PK11_ExitSlotMonitor(slot); > pk11_CloseSession(slot,session,owner); > PORT_SetError( PK11_MapError(crv) ); > return SECFailure; >@@ -760,6 +760,7 @@ PK11_Sign(SECKEYPrivateKey *key, SECItem *sig, SECItem *hash) > PK11_DoPassword(slot, PR_FALSE, key->wincx, PR_TRUE); > } > len = sig->len; >+ if (!owner || !(slot->isThreadSafe)) PK11_EnterSlotMonitor(slot); > crv = PK11_GETTAB(slot)->C_Sign(session,hash->data, > hash->len, sig->data, &len); > if (!owner || !(slot->isThreadSafe)) PK11_ExitSlotMonitor(slot); >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
rrelyea
: review-
Actions:
View
|
Diff
Attachments on
bug 872124
:
637038
|
637191