Stefan Fuhrmann wrote:
[...]
> Yes, you are right. I'll fix this.
[...]
> I'll add test code for these as well.

Thanks.

After that you might want to eliminate the recursion, trivially, in both 
functions:

  if //it overlaps
    {
      bytes = apr_pmemdup(str->pool, bytes, count);
      // don't recurse here

    }
  //continue here with the rest of the function

- Julian

Reply via email to