File argus-clients-3.0.0-overflow.patch of Package argus-client

--- common/argus_util.c
+++ common/argus_util.c
@@ -15424,8 +15424,8 @@
             *tptr++ = buf[i];
          }
 
-         memset(buf, 0, MAXSTRLEN);
-         strncpy(buf, tbuf, MAXSTRLEN);
+         memset(buf, 0, sizeof(buf));
+         strncpy(buf, tbuf, sizeof(buf));
       }
 
       syslog (priority, buf);
openSUSE Build Service is sponsored by