summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 71f6508)
raw | patch | inline | side by side (parent: 71f6508)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 30 Jun 2017 14:15:25 +0000 (16:15 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 30 Jun 2017 14:15:25 +0000 (16:15 +0200) |
Thanks to Jeremie Courreges-Anglas and Daniel Jakots.
src/email.c | patch | blob | history | |
src/exec.c | patch | blob | history | |
src/unixsock.c | patch | blob | history |
diff --git a/src/email.c b/src/email.c
index 1da2633ab39612be6bd6b9a28310d494cffd9f37..b7a5bcad24414538a07054ebac05dad52e9ec4a9 100644 (file)
--- a/src/email.c
+++ b/src/email.c
{
struct group sg;
struct group *grp;
- char grbuf[2048];
+ char grbuf[4096];
int status;
grp = NULL;
diff --git a/src/exec.c b/src/exec.c
index b728654c893e6c5830a4b38d84dff876bb5a9aab..3e480283ca97df7c9407de039ce075e9346f7b58 100644 (file)
--- a/src/exec.c
+++ b/src/exec.c
struct passwd *sp_ptr;
struct passwd sp;
- char nambuf[2048];
+ char nambuf[4096];
if (pl->pid != 0)
return (-1);
diff --git a/src/unixsock.c b/src/unixsock.c
index b3fa6a37860ee8246f2184cf6557a3cb21e65ec7..020a577a8775ce95b62d91250e546569d62a9788 100644 (file)
--- a/src/unixsock.c
+++ b/src/unixsock.c
const char *grpname;
struct group *g;
struct group sg;
- char grbuf[2048];
+ char grbuf[4096];
grpname = (sock_group != NULL) ? sock_group : COLLECTD_GRP_NAME;
g = NULL;