Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix free of wild pointer if user omits an arg #1368

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ldms/src/ldmsd/ldmsd_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -2425,7 +2425,7 @@ int strgp_decomp_init(ldmsd_strgp_t strgp, ldmsd_req_ctxt_t req);
static int strgp_add_handler(ldmsd_req_ctxt_t reqc)
{
char *attr_name, *name, *plugin, *container, *schema, *interval, *regex;
char *decomp;
char *decomp = NULL;
name = plugin = container = schema = NULL;
size_t cnt = 0;
uid_t uid;
Expand Down
Loading