Re: Broken request_rec structures passed to hook methods in Apache 2.0

2012-07-05 Thread Nick Kew
On 5 Jul 2012, at 04:42, Tim Whittington wrote: Use apxs from your installed httpd to build your module. That way you'll get the right compile options and header files. And for sake, upgrade! 2.0 belongs in the museum! Then you can deal with the possibility that your module is using a

[PATCH] don't corrupt heap upon empty response from OCSP server

2012-07-05 Thread Jim Meyering
Hi, This is my first httpd patch/report. If you'd prefer that it go to a BZ or a different list, just let me know. I found this by inspection: it appears that line[-1] (the heap) can be corrupted. Is it possible for len to be 0 at that point? It looks like it, since the preceding block guards

build problems

2012-07-05 Thread Julian Reschke
Hi there, I was trying to build trunk, and encountered the following problem (after running autoconf; assuming that was right): $ ./configure --prefix=/srv ./configure: line 2909: syntax error near unexpected token `Apache,' ./configure: line 2909: `APR_ENABLE_LAYOUT(Apache, errordir

RE: build problems

2012-07-05 Thread Plüm , Rüdiger , Vodafone Group
You don't need to run autoconf. If you want to rebuild configure please run buildconf in the same directory as configure. Regards Rüdiger -Original Message- From: Julian Reschke [mailto:julian.resc...@gmx.de] Sent: Donnerstag, 5. Juli 2012 14:14 To: dev@httpd.apache.org Subject:

Re: build problems

2012-07-05 Thread Julian Reschke
On 2012-07-05 14:17, Plüm, Rüdiger, Vodafone Group wrote: You don't need to run autoconf. If you want to rebuild configure please run buildconf in the same directory as configure. ... I don't want to *re*build configure, I just want to *build* it. It's not in SVN, after all. So what are

RE: build problems

2012-07-05 Thread Plüm , Rüdiger , Vodafone Group
Then you need to execute buildconf. It is mandatory in this case. Regards Rüdiger -Original Message- From: Julian Reschke [mailto:julian.resc...@gmx.de] Sent: Donnerstag, 5. Juli 2012 14:53 To: dev@httpd.apache.org Cc: Plüm, Rüdiger, Vodafone Group Subject: Re: build problems

Re: build problems

2012-07-05 Thread Julian Reschke
On 2012-07-05 14:57, Plüm, Rüdiger, Vodafone Group wrote: Then you need to execute buildconf. It is mandatory in this case. Regards Rüdiger ... I see; thanks for the help!

[PATCH] don't access(r/w) uri[-1] when validating resource w/empty uri string

2012-07-05 Thread Jim Meyering
At first I thought there must be code to guarantee that a URI (resource-uri) has length 0, but since I found similar guards against precisely that case, e.g., modules/dav/fs/repos.c-822 char *uri = ap_make_dirstr_parent(ctx-pool, resource-uri); if (strlen(uri) 1

Re: [PATCH] don't access(r/w) uri[-1] when validating resource w/empty uri string

2012-07-05 Thread Nick Kew
On Thu, 05 Jul 2012 19:33:18 +0200 Jim Meyering j...@meyering.net wrote: Thanks for the patch, but can you clarify? At first I thought there must be code to guarantee that a URI (resource-uri) has length 0, In principle it must be for an HTTP request to exist. Have you found a testcase or

Errors Building Docs from Trunk (Apparently Solved)

2012-07-05 Thread Tom Browder
I'm trying to build the docs from the trunk following instructions here: http://httpd.apache.org/docs-project/docsformat.html (Note the first heading on the page is Module Format and Transformation which I believe would better read Document Format and Transformation or something similar.) I

Re: Errors Building Docs from Trunk (Apparently Solved) [NOT]

2012-07-05 Thread Tom Browder
On Thu, Jul 5, 2012 at 3:48 PM, Tom Browder tom.brow...@gmail.com wrote: I'm trying to build the docs from the trunk following instructions here: http://httpd.apache.org/docs-project/docsformat.html ... In the meantime I changed all the xsl files with the ISO encoding and changed them to