nmh-workers
[Top] [All Lists]

[Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c

2005-05-13 20:51:15
Saw this while looking for something else.

m_chkids() forks a child process to run context_save() if the
uid is not the same as the euid.  But, it ends up running as
if the uid and euid are the same if the fork() fails.  Seems
to me that this should be an error.  I realize that it will
probably result in later errors from being unable to access
the files, but those will be confusing since they won't indicate
the real problem.

Opinions?

        Jon


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>