summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
719155c)
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 RANDOM_STRING_LEN 11
/* Number of TAP tests in this file */
/* For error.h */
int lttng_opt_quiet = 1;
/* For error.h */
int lttng_opt_quiet = 1;
+ 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);
exclusion->count = exclusion_count;
strncpy(LTTNG_EVENT_EXCLUSION_NAME_AT(exclusion, 0),
get_random_string(), LTTNG_SYMBOL_NAME_LEN);