On Wed, Oct 21, 2009 at 01:28:51PM +1000, Brendon Higgins wrote: > I've had a poke around the code, and is seems to me that the options struct > (lines 866-882) is not terminated correctly. According to the getopt_long > documentation, the array should be terminated "with an element containing > all zeros", which pstree doesn't have. So, of course, getopt_long ends up > looking into memory that's none of its business. Thanks for your report, I'll fix it in the next psmisc release. Interestingly, it doesn't segfault for me on a i386, however that array should be terminated and will be in the next release.
- 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