Bug#1055742: libnginx-mod-http-cache-purge: Segmentation fault caused by PURGE requests

2023-12-18 Thread Jan Mojzis
Hi,

how can I reproduce the segmentation fault?

I prepared a simple autopkg test
here: 
"https://salsa.debian.org/nginx-team/libnginx-mod-http-cache-purge/-/blob/main/debian/tests/purgetest?ref_type=heads;
but I didn't catch the segfault, the autopkgtest works with the 1.22.1 / 1.24.0 
nginx version.
The problem will probably be some special case related to the 
proxy_cookie_flags option.

Before applying the patch, I would like to have an autopkgtest to verify that 
the patch  works.

Jan



Bug#1055742: libnginx-mod-http-cache-purge: Segmentation fault caused by PURGE requests

2023-11-10 Thread Aziz Kemyakov
Package: libnginx-mod-http-cache-purge
Version: 2.3-4
Severity: important

Dear Maintainer,

The module ngx_http_cache_purge_module is not working on nginx 1.22.1. Someone 
already fixed that, patch can be found here:
https://github.com/FRiCKLE/ngx_cache_purge/pull/51/commits/c8ca321b909cb3d9371db4509f1064045d7e0b1c

Thanks in advance!


-- System Information:
Debian Release: 12.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-13-amd64 (SMP w/64 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libnginx-mod-http-cache-purge depends on:
ii  libc6   2.36-9+deb12u3
ii  nginx [nginx-abi-1.22.1-7]  1.22.1-9

Versions of packages libnginx-mod-http-cache-purge recommends:
ii  nginx  1.22.1-9

libnginx-mod-http-cache-purge suggests no packages.