projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f564d88
)
Set vp->next to NULL on copy vp data
author
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Tue, 19 Feb 2013 19:14:33 +0000
(14:14 -0500)
committer
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Tue, 19 Feb 2013 19:14:33 +0000
(14:14 -0500)
src/lib/valuepair.c
patch
|
blob
|
history
diff --git
a/src/lib/valuepair.c
b/src/lib/valuepair.c
index
e1b148e
..
ab90ec2
100644
(file)
--- a/
src/lib/valuepair.c
+++ b/
src/lib/valuepair.c
@@
-401,6
+401,8
@@
VALUE_PAIR *paircopyvpdata(const DICT_ATTR *da, const VALUE_PAIR *vp)
memcpy(n->vp_tlv, vp->vp_tlv, n->length);
}
+ n->next = NULL;
+
return n;
}