diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-03-17 23:17:55 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-03-17 23:17:55 +0100 |
commit | 1528d30aebc462a13861d7cdb827e74556f3aa91 (patch) | |
tree | edfb0ab1640fb82dacab5f896dfe13f5894b27a0 | |
parent | 97e46d28fff1aa27d7d15e113cc3a52ae20934c7 (diff) |
Fixes unterminated string for atomic_aggr attribute formatting.
-rw-r--r-- | nest/rt-attr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c index 94b105d7..b553475a 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) |