On Sat, Dec 13, 2008 at 2:35 AM, Saju Pillai <saju.pil...@gmail.com> wrote: > > On 13-Dec-08, at 1:02 PM, Mark Harrison wrote: > >> One thing you can check: >> Make sure that s points to writable memory. >> > > Check that s is on the heap not on a function stack. Try apr_pstrdup(p, s) > or memcpy(s) into malloc'd memory.
Thank you, that was the issue! Sam