Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eduroam
radsecproxy
Commits
26c8061a
Commit
26c8061a
authored
Aug 28, 2013
by
Linus Nordberg
Browse files
Make a _copy_ of the attributes when copying them.
Doh! Closes RADSECPROXY-53.
parent
d413b14b
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
26c8061a
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
...
...
radmsg.c
View file @
26c8061a
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment