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 310609 Details for
Bug 453444
CVE-2008-2952 OpenLDAP denial-of-service flaw in ASN.1 decoder
[?]
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]
Patch from upstream CVE
io.c.diff (text/plain), 1.12 KB, created by
Josh Bressers
on 2008-06-30 17:53:21 UTC
(
hide
)
Description:
Patch from upstream CVE
Filename:
MIME Type:
Creator:
Josh Bressers
Created:
2008-06-30 17:53:21 UTC
Size:
1.12 KB
patch
obsolete
>=================================================================== >RCS file: /repo/OpenLDAP/pkg/ldap/libraries/liblber/io.c,v >retrieving revision 1.120 >retrieving revision 1.121 >diff -u -r1.120 -r1.121 >--- libraries/liblber/io.c 2008/01/07 23:20:03 1.120 >+++ libraries/liblber/io.c 2008/06/27 00:36:41 1.121 >@@ -1,5 +1,5 @@ > /* io.c - ber general i/o routines */ >-/* $OpenLDAP: libraries/liblber/io.c,v 1.120 2008/01/07 23:20:03 kurt Exp $ */ >+/* $OpenLDAP: libraries/liblber/io.c,v 1.121 2008/06/27 00:36:41 hyc Exp $ */ > /* This work is part of OpenLDAP Software <http://www.openldap.org/>. > * > * Copyright 1998-2008 The OpenLDAP Foundation. >@@ -584,13 +584,11 @@ > return LBER_DEFAULT; > } > /* Not enough bytes? */ >- if (ber->ber_rwptr - (char *)p < llen) { >-#if defined( EWOULDBLOCK ) >- sock_errset(EWOULDBLOCK); >-#elif defined( EAGAIN ) >- sock_errset(EAGAIN); >-#endif >- return LBER_DEFAULT; >+ i = ber->ber_rwptr - (char *)p; >+ if (i < llen) { >+ sblen=ber_int_sb_read( sb, ber->ber_rwptr, i ); >+ if (sblen<i) return LBER_DEFAULT; >+ ber->ber_rwptr += sblen; > } > for (i=0; i<llen; i++) { > tlen <<=8;
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 453444
:
310609