Re: httpd crashes when fetching a hidden file located on a CD

2015-12-12 Thread David Gwynne
> On 11 Dec 2015, at 9:23 PM, Ted Unangst wrote: > > Ted Unangst wrote: >> Jonathan Gray wrote: There's one thing to add though, it looks like it happens for any file on cd9660, not just dotfiles. >>> >>> It is worth pointing out that httpd has had trouble

Re: httpd crashes when fetching a hidden file located on a CD

2015-12-12 Thread Reyk Floeter
On Sat, Dec 12, 2015 at 08:09:44AM -0700, Theo de Raadt wrote: > > on one hand i agree with you, but on the other i wonder why httpd thinks > > setting events up on files is useful.= > > I wondered this too. And since this is libevent, and poll/select cannot > do anything like that, what is the

Re: httpd crashes when fetching a hidden file located on a CD

2015-12-11 Thread Ted Unangst
Ted Unangst wrote: > Jonathan Gray wrote: > > > > > > There's one thing to add though, it looks like it happens for any file on > > > cd9660, not just dotfiles. > > > > It is worth pointing out that httpd has had trouble serving files off > > specific filesystems in the past due to kqueue

Re: httpd crashes when fetching a hidden file located on a CD

2015-12-08 Thread Ted Unangst
Jonathan Gray wrote: > > > > There's one thing to add though, it looks like it happens for any file on > > cd9660, not just dotfiles. > > It is worth pointing out that httpd has had trouble serving files off > specific filesystems in the past due to kqueue issues. > > cd9660_vops does not

Re: httpd crashes when fetching a hidden file located on a CD

2015-12-08 Thread Theo de Raadt
> Stuart Henderson wrote: > > 26600 httpdCALL issetugid() > > 26600 httpdRET issetugid 0 > > 26600 httpdCALL open(0x7f7d82a0,0) > > 26600 httpdNAMI "/usr/share/zoneinfo/GMT" > > 26600 httpdRET open -1 errno 2 No such file or directory > > 26600 httpdCALL

Re: httpd crashes when fetching a hidden file located on a CD

2015-12-08 Thread Sevan / Venture37
Thanks so much for the patch, It's resolved the issue. Sevan

Re: httpd crashes when fetching a hidden file located on a CD

2015-12-07 Thread Theo de Raadt
This bug report totally sucks. Have you ever heard of ktrace, and if you have, why did you not try to reproduce it? You want us to reproduce it? Why? > Hi, > I ran across an issue with httpd(8) on 5.8-RELEASE & -CURRENT (2/12/2015 > snapshot) where fetching a .hidden file located on a CD

httpd crashes when fetching a hidden file located on a CD

2015-12-07 Thread Sevan / Venture37
Hi, I ran across an issue with httpd(8) on 5.8-RELEASE & -CURRENT (2/12/2015 snapshot) where fetching a .hidden file located on a CD through httpd results in httpd crashing (no core file or error message logged). To reproduce, mount CD in a location which is served by httpd. eg CentOS minimal

Re: httpd crashes when fetching a hidden file located on a CD

2015-12-07 Thread Jonathan Gray
On Tue, Dec 08, 2015 at 12:31:09AM +, Stuart Henderson wrote: > On 2015/12/07 15:44, Theo de Raadt wrote: > > This bug report totally sucks. > > > > Have you ever heard of ktrace, and if you have, why did you not try > > to reproduce it? > > > > You want us to reproduce it? Why? > > > > >

Re: httpd crashes when fetching a hidden file located on a CD

2015-12-07 Thread Stuart Henderson
On 2015/12/07 15:44, Theo de Raadt wrote: > This bug report totally sucks. > > Have you ever heard of ktrace, and if you have, why did you not try > to reproduce it? > > You want us to reproduce it? Why? > > > Hi, > > I ran across an issue with httpd(8) on 5.8-RELEASE & -CURRENT (2/12/2015 > >