projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74eac3a
)
If we've parsed " in a string, set the length to the correct value
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 8 Jun 2010 05:56:38 +0000
(07:56 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 10 Jun 2010 08:26:04 +0000
(10:26 +0200)
src/lib/valuepair.c
patch
|
blob
|
history
diff --git
a/src/lib/valuepair.c
b/src/lib/valuepair.c
index
0a411ea
..
867d55c
100644
(file)
--- a/
src/lib/valuepair.c
+++ b/
src/lib/valuepair.c
@@
-925,6
+925,7
@@
VALUE_PAIR *pairparsevalue(VALUE_PAIR *vp, const char *value)
*p++ = c;
length++;
}
+ vp->vp_strvalue[length] = '\0';
vp->length = length;
break;