]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Correct assignment of temporary list to vp->group for fr_pair_list_t
authorNick Porter <nick@portercomputing.co.uk>
Sat, 9 Jan 2021 15:45:37 +0000 (15:45 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 21 Jan 2021 23:05:49 +0000 (23:05 +0000)
src/protocols/dhcpv6/decode.c

index 023efce383bbced28a025a90ff587bd18c341ecb..02b5afd6c653c60d957a0d63055e63ab3bfe0fa4 100644 (file)
@@ -258,7 +258,7 @@ static ssize_t decode_value(TALLOC_CTX *ctx, fr_dcursor_t *cursor, fr_dict_t con
                        talloc_free(vp);
                        goto raw;
                }
-               vp->vp_group = head;
+               fr_tmp_pair_list_move(&vp->vp_group, &head);
                break;
        }