On Thu, 2013-05-30 at 00:06 +0200, Graf László wrote: > bufp = apr_palloc(r->pool, len); > bufp = buf;
What is the point of the above code? First some memory is allocated for bufp, then it is ignored, as bufp actually becomes a pointer to the buf array... As for the segfault, run you code through gdb (or some other debugger) and step through it while examining the contents of variables. That should give you some clues. -- Bojan
