Bug#550009: memset

2009-11-24 Thread Arnaud Giersch
Hi, To Albert Cahalan, I am answering here since that's me that have introduced the memset patch. Lundi 23 novembre 2009, vers 10:56:24 (+0100), Albert Cahalan a écrit : > I don't have this "supgid" in my procps, so I don't have this bug. The "memset patch" actually addresses two issues. First

Bug#550009: memset

2009-11-23 Thread Albert Cahalan
On Mon, Nov 23, 2009 at 6:42 AM, Craig Small wrote: > The xcalloc is in the original code, I can even see it in the 3.2.7 > code. Yeah, I know. > So is the solution to test the result of the file2str on the status file > and if that fails set certain pointers to null? something like that, with

Bug#550009: memset

2009-11-23 Thread Craig Small
On Mon, Nov 23, 2009 at 04:56:24AM -0500, Albert Cahalan wrote: > I don't have this "supgid" in my procps, so I don't have this bug. supgid is a patch to read the supplementary groups. Apparently it can happen with tasks too. > I do however have "environ", which readproc sets as follows: I don't

Bug#550009: memset

2009-11-23 Thread Albert Cahalan
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 per