summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-03-17 23:17:55 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-03-17 23:17:55 +0100
commit1528d30aebc462a13861d7cdb827e74556f3aa91 (patch)
treeedfb0ab1640fb82dacab5f896dfe13f5894b27a0
parent97e46d28fff1aa27d7d15e113cc3a52ae20934c7 (diff)
downloadbird-1528d30aebc462a13861d7cdb827e74556f3aa91.tar
bird-1528d30aebc462a13861d7cdb827e74556f3aa91.zip
Fixes unterminated string for atomic_aggr attribute formatting.
-rw-r--r--nest/rt-attr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index 94b105d..b553475 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -403,6 +403,7 @@ ea_format(eattr *e, byte *buf)
bsprintf(buf, "%u", e->u.data);
break;
case EAF_TYPE_OPAQUE:
+ *buf = 0;
for(i=0; i<ad->length; i++)
{
if (buf > end - 8)