From 1528d30aebc462a13861d7cdb827e74556f3aa91 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Wed, 17 Mar 2010 23:17:55 +0100 Subject: Fixes unterminated string for atomic_aggr attribute formatting. --- nest/rt-attr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nest') 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; ilength; i++) { if (buf > end - 8) -- cgit v1.2.3