mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-31 22:21:54 +00:00
rt-attr.c: use strncpy() instead strcpy()
This commit is contained in:
parent
10e1e8144d
commit
72948cc684
@ -763,7 +763,7 @@ opaque_format(struct adata *ad, byte *buf, uint size)
|
||||
{
|
||||
if (buf > bound)
|
||||
{
|
||||
strcpy(buf, " ...");
|
||||
strncpy(buf, " ...", 5);
|
||||
return;
|
||||
}
|
||||
if (i)
|
||||
|
Loading…
Reference in New Issue
Block a user