mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-02 23:21:54 +00:00
Fixes unterminated string for atomic_aggr attribute formatting.
This commit is contained in:
parent
97e46d28ff
commit
1528d30aeb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user