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 know how that would help, the supgid is read from /proc/#/status
not from a different file.

> 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.
The xcalloc is in the original code, I can even see it in the 3.2.7
code.

So is the solution to test the result of the file2str on the status file
and if that fails set certain pointers to null?

 - Craig

-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to