I don't have this "supgid" in my procps, so I don't have this bug.
I do however have "environ", which readproc sets as follows:
if (unlikely(flags & PROC_FILLENV))
p->environ = file2strvec(path, "environ");
else
p->environ = NULL;
Remember that this is some of the most performance-critical code in
all of procps. Adding a memset is not good. Even the xcalloc isn't
such a good idea; it really should be a plain malloc.
(and now I know why I've been getting bombed with backtraces, grrr...)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]