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