You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2019/11/08 15:55:52 UTC

[qpid-dispatch] branch master updated: DISPATCH-1467 - Fixed the following address santitizer error src/message.c:1043:38: runtime error: load of value 190, which is not a valid value for type '_Bool'

This is an automated email from the ASF dual-hosted git repository.

gmurthy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new c3dccb8  DISPATCH-1467 - Fixed the following address santitizer error src/message.c:1043:38: runtime error: load of value 190, which is not a valid value for type '_Bool'
c3dccb8 is described below

commit c3dccb8411f091674dbe74b5dda0356bf3159bb5
Author: Ganesh Murthy <gm...@apache.org>
AuthorDate: Fri Nov 8 10:54:53 2019 -0500

    DISPATCH-1467 - Fixed the following address santitizer error
    src/message.c:1043:38: runtime error: load of value 190, which is not a valid value for type '_Bool'
---
 src/message.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/message.c b/src/message.c
index 0325c14..ead6bf4 100644
--- a/src/message.c
+++ b/src/message.c
@@ -928,6 +928,8 @@ qd_message_t *qd_message()
     if (!msg)
         return 0;
 
+    ZERO (msg);
+
     msg->cursor.buffer = 0;
     msg->cursor.cursor = 0;
     msg->sent_depth    = QD_DEPTH_NONE;
@@ -938,6 +940,8 @@ qd_message_t *qd_message()
     msg->send_complete = false;
     msg->tag_sent      = false;
     msg->is_fanout     = false;
+    msg->strip_annotations_in = false;
+
 
     msg->content = new_qd_message_content_t();
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org