Commit 72948cc6 authored by Pavel Tvrdík's avatar Pavel Tvrdík
Browse files

rt-attr.c: use strncpy() instead strcpy()

parent 10e1e814
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -763,7 +763,7 @@ opaque_format(struct adata *ad, byte *buf, uint size)
    {
      if (buf > bound)
	{
	  strcpy(buf, " ...");
	  strncpy(buf, " ...", 5);
	  return;
	}
      if (i)