Fix: lttng-relayd: unhandled out of memory error
A message that is not in the archive (sent off-list or not yet received): [email protected]
Merged in 2.5, 2.6 and master.
Thanks,
Jérémie
Quoted 24 lines · Mathieu Desnoyers
Signed-off-by Mathieu Desnoyers <[email protected]>--- src/bin/lttng-relayd/main.c | 5 +++++ 1 file changed, 5 insertions(+)src/bin/lttng-relayd/main.c +5
-1@@ -234,6 +234,11 @@ int set_option(int opt, const char *arg, const char *optname)break ;case 'g' : tracing_group_name =strdup (arg); +if (tracing_group_name ==NULL ) { + ret = -errno; +PERROR ("strdup" ); + goto end; + } tracing_group_name_override =1 ;break ;case 'h' : --2.1.1
Signature · 8 lines
Jérémie Galarneau EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev