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 907986 Details for
Bug 1059607
[RFE] Make auto_tie_breaker node configurable
[?]
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]
votequorum: Properly initialize atb and atb_string
tmp.2oZOOMdXbf (text/plain), 1.01 KB, created by
Jan Friesse
on 2014-06-12 07:36:12 UTC
(
hide
)
Description:
votequorum: Properly initialize atb and atb_string
Filename:
MIME Type:
Creator:
Jan Friesse
Created:
2014-06-12 07:36:12 UTC
Size:
1.01 KB
patch
obsolete
>From e1801ba49738a3ae2ba3ca08c2b74dda5ff9056c Mon Sep 17 00:00:00 2001 >From: Jan Friesse <jfriesse@redhat.com> >Date: Wed, 26 Feb 2014 13:01:09 +0100 >Subject: [PATCH] votequorum: Properly initialize atb and atb_string > >icmap_get_* behavior is to NOT modify passed variable when it doesn't >success. So we must initialize variable before icmap_get_* call. > >Signed-off-by: Jan Friesse <jfriesse@redhat.com> >Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com> >--- > exec/votequorum.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/exec/votequorum.c b/exec/votequorum.c >index dc0999d..1e913eb 100644 >--- a/exec/votequorum.c >+++ b/exec/votequorum.c >@@ -1211,9 +1211,9 @@ static char *votequorum_readconfig(int runtime) > uint32_t node_votes = 0, qdevice_votes = 0; > uint32_t node_expected_votes = 0, expected_votes = 0; > uint32_t node_count = 0; >- uint8_t atb; >+ uint8_t atb = 0; > int have_nodelist, have_qdevice; >- char *atb_string; >+ char *atb_string = NULL; > char *error = NULL; > > ENTER(); >-- >1.7.1 >
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 1059607
:
907961
|
907962
| 907986