CID
1256182 (#2 of 2): Dereference after null check (FORWARD_NULL)16.
var_deref_op: Dereferencing null pointer exclusion.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
#define RANDOM_STRING_LEN 11
/* Number of TAP tests in this file */
-#define NUM_TESTS 15
+#define NUM_TESTS 16
/* For error.h */
int lttng_opt_quiet = 1;
PERROR("zmalloc");
}
+ ok(exclusion != NULL, "Create UST exclusion");
+
exclusion->count = exclusion_count;
strncpy(LTTNG_EVENT_EXCLUSION_NAME_AT(exclusion, 0),
get_random_string(), LTTNG_SYMBOL_NAME_LEN);