Commit 1528d30a authored by Ondřej Zajíček's avatar Ondřej Zajíček

Fixes unterminated string for atomic_aggr attribute formatting.

parent 97e46d28
...@@ -403,6 +403,7 @@ ea_format(eattr *e, byte *buf) ...@@ -403,6 +403,7 @@ ea_format(eattr *e, byte *buf)
bsprintf(buf, "%u", e->u.data); bsprintf(buf, "%u", e->u.data);
break; break;
case EAF_TYPE_OPAQUE: case EAF_TYPE_OPAQUE:
*buf = 0;
for(i=0; i<ad->length; i++) for(i=0; i<ad->length; i++)
{ {
if (buf > end - 8) if (buf > end - 8)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment