FreeBSD Bugzilla – Attachment 144768 Details for
Bug 191871
comms/trustedqsl trustedqsl-2.0.2 crashes on 10.0-STABLE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for openssl_cert.cpp to fix tqsl crash
patch-src_openssl_cert.cpp (text/plain), 1.08 KB, created by
Kenji Rikitake
on 2014-07-18 02:00:03 UTC
(
hide
)
Description:
Patch for openssl_cert.cpp to fix tqsl crash
Filename:
MIME Type:
Creator:
Kenji Rikitake
Created:
2014-07-18 02:00:03 UTC
Size:
1.08 KB
patch
obsolete
>--- src/openssl_cert.cpp.orig 2014-07-12 13:18:13.000000000 -0700 >+++ src/openssl_cert.cpp 2014-07-17 16:36:04.000000000 -0700 >@@ -4214,20 +4214,22 @@ > for (ep = ellist.find("Cert"); ep != ellist.end(); ep++) { > if (ep->first != "Cert") > break; >- pair<string, bool> rval = ep->second.getAttribute("serial"); >+ pair<string, bool> rval = ep->second.get()->getAttribute("serial"); > if (rval.second && strtol(rval.first.c_str(), NULL, 10) == serial) { > exists = true; > break; > } > } > >- XMLElement cs("Cert"); >+ shared_ptr<XMLElement> cs_p = make_shared<XMLElement>("Cert"); >+ XMLElement cs = *cs_p; > cs.setPretext("\n "); >- XMLElement se; >+ shared_ptr<XMLElement> se_p(new XMLElement); >+ XMLElement se = *se_p; > se.setPretext(cs.getPretext() + " "); > se.setElementName("status"); > se.setText(status); >- cs.addElement(se); >+ cs.addElement(se_p); > > cs.setAttribute("serial", sstr); > cs.setText("\n "); >@@ -4235,7 +4237,7 @@ > if (exists) > ellist.erase(ep); > >- sfile.addElement(cs); >+ sfile.addElement(cs_p); > sfile.setText("\n"); > return tqsl_dump_cert_status_data(sfile); > }
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
Actions:
View
|
Diff
Attachments on
bug 191871
:
144677
|
144678
|
144737
|
144738
|
144750
|
144752
|
144763
|
144764
|
144768
|
144769
|
144778
|
144784