Skip to content
Snippets Groups Projects
Commit 852620ba authored by ehuang32's avatar ehuang32
Browse files

change to vuln_4, more realistic

parent c00dad33
Branches
No related tags found
No related merge requests found
Pipeline #59148 passed
......@@ -85,7 +85,7 @@ static node_t *node_new(const char *varname, const value_t value){
static void node_edit_value(node_t * p, node_t *q){
char *ptr;
if (q->value == strtol(q->varname, &ptr, 10)) {
free(q->value);
q->varname = q->value;
}
p->value = q->value;
free(q->varname);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment