Source: urweb Version: 20170720+dfsg-2 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramac...@debian.org
https://buildd.debian.org/status/fetch.php?pkg=urweb&arch=ppc64el&ver=20170720%2Bdfsg-2%2Bb1&stamp=1704495164&raw=0 /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include/urweb -I./../../include/urweb -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wall -Werror -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-code-hoisting -c -o static.lo static.c http.c: In function ‘worker’: http.c:119:32: error: pointer ‘buf’ may be used after ‘realloc’ [-Werror=use-after-free] 119 | back = new_buf + (back - buf); | ~~~~~~^~~~~~ http.c:111:19: note: call to ‘realloc’ here 111 | new_buf = realloc(buf, new_buf_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:184:32: error: pointer ‘buf’ may be used after ‘realloc’ [-Werror=use-after-free] 184 | s = new_buf + (s - buf); | ~~~^~~~~~ http.c:173:25: note: call to ‘realloc’ here 173 | new_buf = realloc(buf, new_buf_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:183:38: error: pointer ‘buf’ may be used after ‘realloc’ [-Werror=use-after-free] 183 | body = new_buf + (body - buf); | ~~~~~~^~~~~~ http.c:173:25: note: call to ‘realloc’ here 173 | new_buf = realloc(buf, new_buf_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:182:38: error: pointer ‘buf’ may be used after ‘realloc’ [-Werror=use-after-free] 182 | back = new_buf + (back - buf); | ~~~~~~^~~~~~ http.c:173:25: note: call to ‘realloc’ here 173 | new_buf = realloc(buf, new_buf_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Cheers -- Sebastian Ramacher