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 644999 Details for
Bug 871617
CVE-2012-4561 libssh: multiple invalid free() flaws
[?]
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]
CVE-2012-4561-Fix-possible-free-s-on-invalid-pointer.patch
0011-CVE-2012-4561-Fix-possible-free-s-on-invalid-pointer.patch (text/plain), 1.61 KB, created by
Andreas Schneider
on 2012-11-14 16:45:37 UTC
(
hide
)
Description:
CVE-2012-4561-Fix-possible-free-s-on-invalid-pointer.patch
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2012-11-14 16:45:37 UTC
Size:
1.61 KB
patch
obsolete
>From d63f19c3000f8bc699ba99814bec9d7ddf6a5b20 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@cryptomilk.org> >Date: Fri, 5 Oct 2012 15:07:17 +0200 >Subject: [PATCH 11/13] CVE-2012-4561: Fix possible free's on invalid > pointers. > > >Signed-off-by: Andreas Schneider <asn@cryptomilk.org> >--- > src/keys.c | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/src/keys.c b/src/keys.c >index de6b8f2..9ae25a3 100644 >--- a/src/keys.c >+++ b/src/keys.c >@@ -88,6 +88,7 @@ ssh_public_key publickey_make_dss(ssh_session session, ssh_buffer buffer) { > ssh_buffer_free(buffer); > return NULL; > } >+ ZERO_STRUCTP(key); > > key->type = SSH_KEYTYPE_DSS; > key->type_c = ssh_type_to_char(key->type); >@@ -173,6 +174,7 @@ ssh_public_key publickey_make_rsa(ssh_session session, ssh_buffer buffer, > ssh_buffer_free(buffer); > return NULL; > } >+ ZERO_STRUCTP(key); > > key->type = type; > key->type_c = ssh_type_to_char(key->type); >@@ -897,6 +899,7 @@ SIGNATURE *signature_from_string(ssh_session session, ssh_string signature, > ssh_set_error(session, SSH_FATAL, "Not enough space"); > return NULL; > } >+ ZERO_STRUCTP(sign); > > tmpbuf = ssh_buffer_new(); > if (tmpbuf == NULL) { >@@ -1280,6 +1283,7 @@ ssh_string ssh_do_sign(ssh_session session, ssh_buffer sigbuf, > if (sign == NULL) { > return NULL; > } >+ ZERO_STRUCTP(sign); > > switch(privatekey->type) { > case SSH_KEYTYPE_DSS: >@@ -1436,6 +1440,7 @@ ssh_string ssh_sign_session_id(ssh_session session, ssh_private_key privatekey) > if (sign == NULL) { > return NULL; > } >+ ZERO_STRUCTP(sign); > > switch(privatekey->type) { > case SSH_KEYTYPE_DSS: >-- >1.8.0 >
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 871617
:
644662
|
644663
|
644998
| 644999