On 19/08/2020 12:31, Bernhard Schmidt wrote:
Hi Tzafrir,

could you have a look at Bug#957117 and #957470? They are causing
Asterisk to be removed from testing.

Uploaded a fix for dahdi-tools. As for libpri: this is basically using index from data[0] that is the end of the header.

My "fix" is to silence those checks (see patches). There hopefully seems to be some upstream work, but I'm not sure how long it would take.

-- Tzafrir

~/Proj/Salsa/pkg-voip/libpri/libpri/libpri-gerrit ~/Proj/Salsa/hpc/perftest/perftest ~/Proj/Salsa/pkg-voip/libpri/libpri/libpri-gerrit
diff --git a/Makefile b/Makefile
index 077b8bf..825a6fe 100644
--- a/Makefile
+++ b/Makefile
@@ -70,6 +70,7 @@ CFLAGS ?= -g
 CFLAGS += $(CPPFLAGS)
 CFLAGS += -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS += -fPIC $(ALERTING) $(LIBPRI_OPT) $(COVERAGE_CFLAGS)
+CFLAGS += -Wno-zero-length-bounds -Wno-stringop-overflow
 INSTALL_PREFIX=$(DESTDIR)
 INSTALL_BASE=/usr
 libdir?=$(INSTALL_BASE)/lib

Reply via email to