Skip to content

Commit

Permalink
Expanded must be set to NULL, else radius_axlat will attempt to use e…
Browse files Browse the repository at this point in the history
…xisting buffer (reported by colomboe)
  • Loading branch information
arr2036 committed Mar 4, 2014
1 parent 2c7d456 commit eb3bfda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_rest/rest.c
Expand Up @@ -970,7 +970,7 @@ static int rest_decode_post(UNUSED rlm_rest_t *instance,
}

ret = pairparsevalue(vp, expanded);
talloc_free(expanded);
TALLOC_FREE(expanded);
if (!ret) {
RWDEBUG("Incompatible value assignment, skipping");
talloc_free(vp);
Expand Down

0 comments on commit eb3bfda

Please sign in to comment.