Skip to content

Paris-Tracreoute build failure on D11 #1469

@mfeit-internet2

Description

@mfeit-internet2

Seen with GitHub Actions building paris-traceroute on D11:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/paris-traceroute/unibuild-work/build/paris-traceroute=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -c algorithms/mda.c  -fPIC -DPIC -o algorithms/.libs/mda.o
[8215](https://github.com/cs1867/pscheduler/actions/runs/10480361538/job/29027841431#step:10:8216)
whois.c: In function 'whois_query':
[8216](https://github.com/cs1867/pscheduler/actions/runs/10480361538/job/29027841431#step:10:8217)
whois.c:88:25: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
[8217](https://github.com/cs1867/pscheduler/actions/runs/10480361538/job/29027841431#step:10:8218)
   88 |     buffer[BUFFER_SIZE] = '\0';
[8218](https://github.com/cs1867/pscheduler/actions/runs/10480361538/job/29027841431#step:10:8219)
      |     ~~~~~~~~~~~~~~~~~~~~^~~~~~
[8219](https://github.com/cs1867/pscheduler/actions/runs/10480361538/job/29027841431#step:10:8220)
whois.c:77:12: note: at offset 1000 to an object with size 1000 declared here
[8220](https://github.com/cs1867/pscheduler/actions/runs/10480361538/job/29027841431#step:10:8221)
   77 |     char   buffer[BUFFER_SIZE];
[8221](https://github.com/cs1867/pscheduler/actions/runs/10480361538/job/29027841431#step:10:8222)
      |            ^~~~~~
[8222](https://github.com/cs1867/pscheduler/actions/runs/10480361538/job/29027841431#step:10:8223)
cc1: all warnings being treated as errors
[8223](https://github.com/cs1867/pscheduler/actions/runs/10480361538/job/29027841431#step:10:8224)
make[5]: *** [Makefile:776: whois.lo] Error 1
[8224](https://github.com/cs1867/pscheduler/actions/runs/10480361538/job/29027841431#step:10:8225)
make[5]: *** Waiting for unfinished jobs....

Code probably needs a patch.

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions