46f7077
--- src/utils/lockfile.cc.orig	2019-07-19 04:43:13.000000000 -0700
46f7077
+++ src/utils/lockfile.cc	2023-04-19 13:39:17.580432638 -0700
46f7077
@@ -94,11 +94,11 @@
46f7077
   if (fd == -1)
46f7077
     return false;
46f7077
 
46f7077
-  char buf[256];
46f7077
+  char buf[256 + 32];
46f7077
   int pos = ::gethostname(buf, 255);
46f7077
 
46f7077
   if (pos == 0) {
46f7077
-    ::snprintf(buf + std::strlen(buf), 255, ":+%i\n", ::getpid());
46f7077
+    ::snprintf(buf + std::strlen(buf), 31, ":+%i\n", ::getpid());
46f7077
     int __UNUSED result = ::write(fd, buf, std::strlen(buf));
46f7077
   }
46f7077