diff options
author | Linus Nordberg <linus@nordberg.se> | 2013-08-28 13:48:49 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2013-09-06 15:16:27 +0200 |
commit | 26c8061a9b931a817756946863fea057dd81b656 (patch) | |
tree | ee82f57a22ae63560fb8d0c3ea11afecfffb19b4 /radmsg.c | |
parent | d413b14b2c6c09f9dc351106bcb3c50975ace189 (diff) |
Make a _copy_ of the attributes when copying them.
Doh!
Closes RADSECPROXY-53.
Diffstat (limited to 'radmsg.c')
-rw-r--r-- | radmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,7 +118,7 @@ int radmsg_copy_attrs(struct radmsg *dst, int n = 0; for (node = list_first(list); node; node = list_next(node)) { - if (radmsg_add(dst, (struct tlv *) node->data) != 1) { + if (radmsg_add(dst, copytlv((struct tlv *) node->data)) != 1) { n = -n; break; } |