[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c
From: |
Jon Steinhart |
Subject: |
[Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c |
Date: |
Fri, 13 May 2005 20:35:08 -0700 |
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] Questionable code in m_chkids() in sbr/context_save.c,
Jon Steinhart <=
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Neil W Rickert, 2005/05/14
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Jon Steinhart, 2005/05/14
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Neil W Rickert, 2005/05/14
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Josh Bressers, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Jon Steinhart, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Michael Richardson, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Norman Shapiro, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Valdis . Kletnieks, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Jeffrey C Honig, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Josh Bressers, 2005/05/15