Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paris-Tracreoute build failure on D11 #1469

Open
mfeit-internet2 opened this issue Aug 23, 2024 · 0 comments
Open

Paris-Tracreoute build failure on D11 #1469

mfeit-internet2 opened this issue Aug 23, 2024 · 0 comments
Assignees

Comments

@mfeit-internet2
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready
Development

No branches or pull requests

1 participant