Bug 735058 - Non-static class member 'isManagementMessage' is not initialized (qpid-cpp)
Summary: Non-static class member 'isManagementMessage' is not initialized (qpid-cpp)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qpid-cpp
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ted Ross
QA Contact: Jeff Needle
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-01 10:22 UTC by Pavel Raiskup
Modified: 2011-12-06 16:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 16:51:03 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1670 normal SHIPPED_LIVE qpid-cpp bug fix and enhancement update 2011-12-06 00:50:15 UTC

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


Note You need to log in before you can comment on or make changes to this bug.