On Fri, Jun 20, 2008 at 12:57 PM, Alan Coopersmith
<[EMAIL PROTECTED]> wrote:
> Does the second item mean you'll be adding checks to the path_to_manpath
> code to protect against segfaults in other special cases, by basically
> doing something like changing the check from:
>    if (stat(mand, &sb) == 0)
> to:
>    if ((stat(mand, &sb) == 0) && (S_ISDIR(sb.mode))
> ?   (I realize that's not safe against race conditions, but since man isn't
> setuid, that seems okay.)

That was the plan.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to