Package: sniproxy / 0.6.0-2+deb11u1

Metadata

Package Version Patches format
sniproxy 0.6.0-2+deb11u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_fix_gcc 10 build.patch | (download)

src/http.h | 2 1 + 1 - 0 !
src/tls.h | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 [patch] don't define http_protocol and tls_protocol variables
 multiple times.

As of gcc 10, the code generator emits globals without explicit initializer
from .bss to .data, leading to:

ld: listener.o:(.rodata+0x60): multiple definition of `http_protocol'; http.o:(.data.rel.ro.local+0x0): first defined here
ld: tls.o:(.data.rel.ro.local+0x0): multiple definition of `tls_protocol'; listener.o:(.rodata+0x68): first defined here
collect2: error: ld returned 1 exit status

CVE 2023 25076.patch | (download)

src/address.c | 2 2 + 0 - 0 !
tests/Makefile.am | 2 2 + 0 - 0 !
tests/bad_dns_request_test | 5 5 + 0 - 0 !
tests/slow_client_test | 7 6 + 1 - 0 !
4 files changed, 15 insertions(+), 1 deletion(-)

---