On Aug 10 10:28, Dr. Volker Zell wrote:
> >>>>> Corinna Vinschen writes:
> 
>     > I've uploaded a new psmisc-21.5-3 package.  When the package hits the
>     > mirrors, can you test if pstree from 21.5-3 still crashes in that
>     > situation?  I think I found a bug which could be the cause for the SEGV,
>     > but I couldn't reproduce it so far.  The potential bug should be fixed
>     > in psmisc-21.5-3, nevertheless.
> 
> The new pstree version seems to work. What was the problem ?

     c = strrchr (filename, '/'); <-- c gets NULL if process is defunct
     sscanf (c, "%15c", tgt);     <-- Boom


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to