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

2012-07-06 Thread Jim Meyering
Nick Kew wrote: 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

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

2012-07-05 Thread Jim Meyering
5609908643d8456c6f56197102161e56d87e56c4 Mon Sep 17 00:00:00 2001 From: Jim Meyering meyer...@redhat.com Date: Thu, 7 Jun 2012 20:36:16 +0200 Subject: [PATCH] don't access(r/w) uri[-1] when validating resource w/empty uri string * modules/dav/main/util.c (dav_validate_resource_state): Handle a zero-length URI string. --- modules

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