openresty / echo-nginx-module

An Nginx module for bringing the power of "echo", "sleep", "time" and more to Nginx's config file
http://wiki.nginx.org/NginxHttpEchoModule
BSD 2-Clause "Simplified" License
1.17k stars 254 forks source link

fix potential null pointer dereference found by coverity #106

Closed chipitsine closed 2 years ago

chipitsine commented 2 years ago
   CID 258040 (#9 of 9): Explicit null dereferenced (FORWARD_NULL)9. var_deref_model: Passing null pointer computed_args to ngx_http_echo_exec_echo_location, which dereferences it. [show details]
259            return ngx_http_echo_exec_echo_location(r, ctx, computed_args);