r->connection->addr_text.data leak or ?

Simon Liu simohayha.bobo at gmail.com
Mon Sep 17 12:59:14 UTC 2012


Hello!

On Mon, Sep 17, 2012 at 8:49 PM, Kalazath <nginx-forum at nginx.us> wrote:

> version 1.2.3
> platform linux x86_64
>
> configure parameters
> ./configure --prefix=/usr --add-module=../ngx_ip_checker/  --with-debug
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,230779,230781#msg-230781
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>


you should ues "%V"  in format message.

ngx_log_debug(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "ip_checker: %V",
&r->connection->addr_text);

-- 
do not fear to be eccentric in opinion, for every opinion now accepted was
once eccentric.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120917/0aec56bd/attachment.html>


More information about the nginx mailing list