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 604783 Details for
Bug 841306
libpcp additional decoder hardening
[?]
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]
Ensure ident is always initialized in text PDU decoder
text-ident-init.patch (text/plain), 503 bytes, created by
Nathan Scott
on 2012-08-16 04:47:14 UTC
(
hide
)
Description:
Ensure ident is always initialized in text PDU decoder
Filename:
MIME Type:
Creator:
Nathan Scott
Created:
2012-08-16 04:47:14 UTC
Size:
503 bytes
patch
obsolete
>diff --git a/src/libpcp/src/p_text.c b/src/libpcp/src/p_text.c >index 6032c3d..7b82049 100644 >--- a/src/libpcp/src/p_text.c >+++ b/src/libpcp/src/p_text.c >@@ -65,9 +65,10 @@ __pmDecodeTextReq(__pmPDU *pdubuf, int *ident, int *type) > *type = ntohl(pp->type); > if ((*type) & PM_TEXT_PMID) > *ident = __ntohpmID(pp->ident); >- else >- if ((*type) & PM_TEXT_INDOM) >+ else if ((*type) & PM_TEXT_INDOM) > *ident = __ntohpmInDom(pp->ident); >+ else >+ *ident = PM_INDOM_NULL; > > return 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 841306
: 604783