A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/openresty/array-var-nginx-module/commit/0932573101b53f94a829c5aa8981cca6c846d5f2 below:

fixed a nasty use of unitialized value bug in array_map: we should al… · openresty/array-var-nginx-module@0932573 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+3

-0

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+3

-0

lines changed Original file line number Diff line number Diff line change

@@ -243,6 +243,8 @@ ngx_http_array_map(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)

243 243

ngx_memzero(data->template, sizeof(ngx_http_complex_value_t));

244 244 245 245

} else {

246 +

ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t));

247 + 246 248

ccv.cf = cf;

247 249

ccv.value = &value[1];

248 250

ccv.complex_value = data->template;

Original file line number Diff line number Diff line change

@@ -9,6 +9,7 @@ repeat_each(1);

9 9

plan tests => repeat_each() * 2 * blocks();

10 10 11 11

no_long_string();

12 +

#no_shuffle();

12 13 13 14

run_tests();

14 15

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4