head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.07.08.19.34.58; author osa; state Exp; branches; next ; commitid Hl5HjdqaTzvAZSMG; desc @@ 1.1 log @www/freenginx-devel: update from 1.31.2 to 1.31.3 Sponsored by: tipi.work *) Feature: additional checks are now used during variable substitution, including during execution of the ngx_http_rewrite_module directives, to prevent buffer overruns in case of errors in the code. *) Bugfix: if the "auth_request_set" directive or regular expression named captures were used to change prefix variables, such as "$http_...", corresponding variables became empty in other parts of the configuration. *) Bugfix: changing the $limit_rate and $args variables with the "auth_request_set" directive or regular expression named captures worked incorrectly. *) Bugfix: in error handling in the mail proxy module. Thanks to Evan Hellman, Trail of Bits. *) Bugfix: in error handling when using gzipping. Thanks to Evan Hellman, Trail of Bits. *) Bugfix: in HTTP/3. *) Bugfix: a segmentation fault might occur in a worker process when sending very long request header lines to a gRPC backend. Thanks to Evan Hellman, Trail of Bits. *) Bugfix: a segmentation fault might occur in a worker process if the ngx_http_charset_module was used to convert responses from UTF-8. *) Bugfix: in the ngx_http_perl_module. Thanks to Evan Hellman, Trail of Bits and Axel Mierczuk, Keith Hoodlet, 1Password's Off-by-1 Labs. *) Bugfix: in error handling when using the proxy_no_cache directive. Thanks to Valentin Bartenev. @ text @--- ../ngx_devel_kit-0.3.4/src/ndk_set_var.c.orig 2026-07-07 14:27:09.629438000 -0400 +++ ../ngx_devel_kit-0.3.4/src/ndk_set_var.c 2026-07-07 14:27:54.282783000 -0400 @@@@ -452,7 +452,6 @@@@ ngx_http_variable_t *v; ndk_http_rewrite_loc_conf_t *rlcf; ngx_http_script_var_code_t *vcode; - ngx_http_script_var_handler_code_t *vhcode; v = info->v; cf = info->cf; @@@@ -460,20 +459,6 @@@@ if (ndk_set_var_filter(cf, rlcf, filter) != NGX_CONF_OK) { return NGX_CONF_ERROR; - } - - if (v->set_handler) { - vhcode = ngx_http_script_start_code(cf->pool, &rlcf->codes, - sizeof(ngx_http_script_var_handler_code_t)); - if (vhcode == NULL) { - return NGX_CONF_ERROR; - } - - vhcode->code = ngx_http_script_var_set_handler_code; - vhcode->handler = v->set_handler; - vhcode->data = v->data; - - return NGX_CONF_OK; } vcode = ngx_http_script_start_code(cf->pool, &rlcf->codes, @