Commit 26c8061a authored by Linus Nordberg's avatar Linus Nordberg

Make a _copy_ of the attributes when copying them.

Doh!

Closes RADSECPROXY-53.
parent d413b14b
Changes since 1.6.4
Bug fixes:
- Fix a crash bug introduced in 1.6.4. Fixes RADSECPROXY-53,
bugfix on 1.6.4.
2013-09-05 1.6.4
Bug fixes:
- Keeping Proxy-State attributes in all replies to clients
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment