Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx_upload_progress release 0.9.3 won't compile with nginx-1.27.0 and --with-debug option #61

Open
MMFuba opened this issue Jul 9, 2024 · 0 comments

Comments

@MMFuba
Copy link

MMFuba commented Jul 9, 2024

Hi,
when compiling nginx-1.27.0 with nginx_upload_progress release 0.9.3 and --with-debug option gcc aborts with an error. Without the debug option compiling works fine.

How to reproduce:
./configure --prefix=/some/pref/nginxWB/build --add-module=/some/pref/nginxWB/nginx-upload-progress-module-master --with-debug

make

I get this error:
In function ‘ngx_http_uploadprogress_event_handler’:
src/core/ngx_log.h:93:9: error: pointer ‘dst’ may be used after ‘free’ [-Werror=use-after-free]
93 | ngx_log_error_core(NGX_LOG_DEBUG, log, VA_ARGS)

wsl:~/nginxWB/nginx-1.27.0> cc --version
cc (SUSE Linux) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Best regards

MM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant