Fixes unterminated string for atomic_aggr attribute formatting.
This commit is contained in:
parent
97e46d28ff
commit
1528d30aeb
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue