Fix: missing dereference when computing extended info position
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Mar 2016 18:04:07 +0000 (13:04 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Mar 2016 18:04:07 +0000 (13:04 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c

index 33ecff0622612239edadc978eef4d1da6540ee94..f35043fa46d52a8d6709ece90028c67b72fdb1b9 100644 (file)
@@ -606,7 +606,7 @@ static int list_lttng_kernel_events(char *channel_name,
                goto error;
        }
 
-       extended_at = ((uint8_t *) events) +
+       extended_at = ((void *) *events) +
                nb_event * sizeof(struct lttng_event);
 
        /* Kernel channels */
This page took 0.027817 seconds and 4 git commands to generate.