httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Carleton" <scarle...@miltonstreet.com>
Subject Re: understanding apr_strtok()
Date Sat, 13 Dec 2008 15:36:18 GMT
On Sat, Dec 13, 2008 at 2:35 AM, Saju Pillai <saju.pillai@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

Mime
View raw message