Mladen Turk wrote:


[EMAIL PROTECTED] commited:

new = apr_array_push(conf->aliases);
- new->fake = f;
- new->real = r;
+ new->fake = apr_pstrdup(cmd->pool, f);
+ new->real = apr_pstrdup(cmd->pool, r);




There is no need to do that.
The f is eventually set to cmd->path that is already duped from cmd pool.
They r is always obtained using ap_getword_conf.

Without the apr_pstrdup() it does not work on my machine...
I have seen that real gets corrupted. (fake does not but in my test it set to cmd-path).



MT.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to