Bug 735058

Summary: Non-static class member 'isManagementMessage' is not initialized (qpid-cpp)
Product: Red Hat Enterprise Linux 6 Reporter: Pavel Raiskup <praiskup>
Component: qpid-cppAssignee: Ted Ross <tross>
Status: CLOSED ERRATA QA Contact: Jeff Needle <jneedle>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: jneedle, tross
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 16:51:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pavel Raiskup 2011-09-01 10:22:23 UTC
On ./qpid-cpp-0.12/cpp/src/qpid/broker/Message.cpp:450 method may return uninitialized value.

--- a/qpid-cpp-0.12/cpp/src/qpid/broker/Message.cpp
+++ b/qpid-cpp-0.12/cpp/src/qpid/broker/Message.cpp
@@ -58,7 +58,7 @@ Message::Message(const Message& original) :
     PersistableMessage(), frames(original.frames), persistenceId(0), redelivered(false), loaded(false),
     staged(false), forcePersistentPolicy(false), publisher(0), adapter(0),
     expiration(original.expiration), dequeueCallback(0),
-    inCallback(false), requiredCredit(0)
+    inCallback(false), requiredCredit(0), isManagementMessage(false)
 {
     setExpiryPolicy(original.expiryPolicy);
 }

Pavel

Comment 6 errata-xmlrpc 2011-12-06 16:51:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1670.html