Fix: out of bounds access to buffer uuid
authorDavid Goulet <dgoulet@efficios.com>
Tue, 14 May 2013 15:42:06 +0000 (11:42 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 14 May 2013 15:42:06 +0000 (11:42 -0400)
In ask_channel_creation: Out-of-bounds access to a buffer (CWE-119)

Issue 1019926 of coverity scan.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/sessiond-comm/sessiond-comm.h

index ebb896b585e6fb759a9ea0c85f32c801f4d94ec2..c0b89a1232dfebd5e5f6b09da3c82ee186bfca6d 100644 (file)
@@ -338,7 +338,7 @@ struct lttcomm_consumer_msg {
                        uint32_t gid;                           /* Group ID ot the session */
                        uint64_t relayd_id;                     /* Relayd id if apply. */
                        uint64_t key;                           /* Unique channel key. */
-                       unsigned char uuid[UUID_STR_LEN];       /* uuid for ust tracer. */
+                       unsigned char uuid[UUID_LEN];   /* uuid for ust tracer. */
                        uint32_t chan_id;                       /* Channel ID on the tracer side. */
                        uint64_t tracefile_size;        /* bytes */
                        uint32_t tracefile_count;       /* number of tracefiles */
This page took 0.026978 seconds and 4 git commands to generate.