You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1998/07/07 19:42:10 UTC
Re: cvs commit: apache-1.3/src/support suexec.c
Your log messages did not indicate the PR#, otherwise I would have
familiarized myself with it.
Also, now that I've read the PR, I see there's absolutely no reason to
increase the verbiage of the error message, because the submitter's
problem went away on recompile -- which leads me to believe it was their
mistake, and nothing wrong with the code.
So, why should we put potentially nasty string manipulation code into a
setuid executable when there's no problem to diagnose?
And no, I won't stop reverting other work. This is supposed to be a
dynamic project, we're all supposed to have the ability to comment and act
upon what others do. I'm not trying to insult you Ken. I'm just using my
time efficiently -- and that means eliminating the latency of going back
and forth on something privately and then having to explain it all
publically again. Furthermore, in this particular instance, I imagine
Marc supports my action -- as he already posted to new-httpd about your
code.
Dean
On Tue, 7 Jul 1998, Rodent of Unusual Size wrote:
> Yes, there was a PR on this, #2250. It has been closed, but the message
> was excessively cryptic and didn't help, so I was making it a little
> more meaningful. I was going to address Marc's concerns to-night.
>
> Please restore 1.40, and stop reverting other people's work without
> checking with them first - particularly when, as you indicated in your
> commit message, you're not familiar with the issues.
>
> #ken P-|}
>
Re: cvs commit: apache-1.3/src/support suexec.c
Posted by Dean Gaudet <dg...@arctic.org>.
On Tue, 7 Jul 1998, Rodent of Unusual Size wrote:
> Dean Gaudet wrote:
> >
> > Your log messages did not indicate the PR#, otherwise I would have
> > familiarized myself with it.
>
> Because the work wasn't complete, which is also why nothing was said
> in CHANGES.
>
> > So, why should we put potentially nasty string manipulation code
> > into a setuid executable when there's no problem to diagnose?
>
> Because it's an infrequent code path and it would be really nice
> to understand why it gets traversed when it does? As it stands,
> when that error path is taken there'll be some headscratching -
> and, as you said, some debugging code added then.
Or, the error path may be taken and compromise the machine. That's why I
keep saying *setuid*.
> > I'm just using my time efficiently -- and that means eliminating
> > the latency of going back and forth on something privately and
> > then having to explain it all publically again.
>
> Just think how efficiently you would have used your time
> if you hadn't even spent it on this. :-)
Right, I think about that all the time thanks.
Dean
Re: cvs commit: apache-1.3/src/support suexec.c
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Dean Gaudet wrote:
>
> Your log messages did not indicate the PR#, otherwise I would have
> familiarized myself with it.
Because the work wasn't complete, which is also why nothing was said
in CHANGES.
> So, why should we put potentially nasty string manipulation code
> into a setuid executable when there's no problem to diagnose?
Because it's an infrequent code path and it would be really nice
to understand why it gets traversed when it does? As it stands,
when that error path is taken there'll be some headscratching -
and, as you said, some debugging code added then.
> I'm just using my time efficiently -- and that means eliminating
> the latency of going back and forth on something privately and
> then having to explain it all publically again.
Just think how efficiently you would have used your time
if you hadn't even spent it on this. :-)
> Furthermore, in this particular instance, I imagine Marc supports
> my action -- as he already posted to new-httpd about your
> code.
Well, it would have been nice to let me respond directly myself,
rather than leaping into the middle before I had a chance.
#ken P-)}
Ken Coar <http://Web.Golux.Com/coar/>
Apache Group member <http://www.apache.org/>
"Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>
Re: cvs commit: apache-1.3/src/support suexec.c
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Marc Slemko wrote:
>
> A couple of the other errors (ie. ones about the wrong user running it)
> should be more verbose and the changes there are good.
Right, I'm putting those back.
> But I think that that huge mess of stuff just to tell people the arguments
> in the error message is not acceptable, it is not readable, the extra mess
> of code to deal with adding the "{buffer overflow}" or whatever it is is
> unnecessary.
suexec is security related. If somehow it's getting flooded with
more than 2K of arguments, it seemed reasonable to me to make a
pointed note of the fact in case it's actually an attack.
*shrug*
#ken P-)}
Ken Coar <http://Web.Golux.Com/coar/>
Apache Group member <http://www.apache.org/>
"Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>
Re: cvs commit: apache-1.3/src/support suexec.c
Posted by Marc Slemko <ma...@znep.com>.
On Tue, 7 Jul 1998, Dean Gaudet wrote:
> Your log messages did not indicate the PR#, otherwise I would have
> familiarized myself with it.
>
> Also, now that I've read the PR, I see there's absolutely no reason to
> increase the verbiage of the error message, because the submitter's
> problem went away on recompile -- which leads me to believe it was their
> mistake, and nothing wrong with the code.
A couple of the other errors (ie. ones about the wrong user running it)
should be more verbose and the changes there are good.
But I think that that huge mess of stuff just to tell people the arguments
in the error message is not acceptable, it is not readable, the extra mess
of code to deal with adding the "{buffer overflow}" or whatever it is is
unnecessary.
I wasn't yet decided if I should replace it with two lines of code that do
the same thing, but only for the fixed case of 4 arguments, or if it
should just be reverted to how it was originally.