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 583488 Details for
Bug 820500
Test program segfaults when trying to obtain Guest metrics from vhostmd
[?]
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]
0001-libmetrics-Return-error-indication-up-through-get_me.patch
0001-libmetrics-Return-error-indication-up-through-get_me.patch (text/plain), 881 bytes, created by
Richard W.M. Jones
on 2012-05-10 09:17:56 UTC
(
hide
)
Description:
0001-libmetrics-Return-error-indication-up-through-get_me.patch
Filename:
MIME Type:
Creator:
Richard W.M. Jones
Created:
2012-05-10 09:17:56 UTC
Size:
881 bytes
patch
obsolete
>From efba4feaef25ea7efc9e35cfa6e92b69784aa88f Mon Sep 17 00:00:00 2001 >From: "Richard W.M. Jones" <rjones@redhat.com> >Date: Thu, 10 May 2012 10:14:50 +0100 >Subject: [PATCH] libmetrics: Return error indication up through get_metric. > >If private function 'get_mdef' returns an error, then the error is not >propagated back to the user because it gets lost in 'get_metric'. Fix >this by initializing 'ret' correctly. >--- > libmetrics/libmetrics.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/libmetrics/libmetrics.c b/libmetrics/libmetrics.c >index d049458..6d5c26f 100644 >--- a/libmetrics/libmetrics.c >+++ b/libmetrics/libmetrics.c >@@ -571,7 +571,7 @@ int get_metric(const char *metric_name, metric **mdef, metric_context context) > metric *lmdef; > uint32_t sum; > int extra_len = 0; >- int ret = 0; >+ int ret = -1; > > *mdef = NULL; > >-- >1.7.10 >
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 820500
:
583474
| 583488 |
583641