Error by compiling dhcp - Software

"Zhéxué M. Krawutschke" <[email protected]>
Newsgroups gmane.network.dhcp.isc.dhcp-server
Message-ID <752e2503-7ff2-4724-9c36-bd8e667ff8cd@Canary>
Hello together,

I am new here and have a problem compiling the software when I have specified the "--enable-dhcpv4o6 --enable-dhcp6" flags. If I remove the first flag, the system compiles the software without errors.

I get the following error message:

In function ‘forw_dhcpv4_response’,
inlined from ‘dhcpv6’ at dhclient.c:1802:5:
dhclient.c:1907:2: error: writing 16 bytes into a region of size 1 [-Werror=stringop-overflow=]
1907 | memcpy(ds.buffer->data + enc_opt_data.len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1908 | packet->client_addr.iabuf, 16);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../includes/dhcpd.h:97,
from dhclient.c:33:
dhclient.c: In function ‘dhcpv6’:
../includes/tree.h:62:16: note: at offset 0 to object ‘data’ with size 1 declared here
62 | unsigned char data [1];
| ^~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:526: dhclient.o] Error 1
make[2]: Leaving directory '/root/tools/software/dhcp-4.4.2-P1/client'
make[1]: *** [Makefile:666: all-recursive] Error 1
make[1]: Leaving directory '/root/tools/software/dhcp-4.4.2-P1/client'
make: *** [Makefile:496: all-recursive] Error 1

What am I possibly doing wrong here? How can I correct this error?
Best regards

Z. Matthias

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users
signature.asc (application/pgp-signature, 946 B)
-----BEGIN PGP SIGNATURE-----
Version: Canary PGP V3

iQJ0BAABCgBeVxxaaMOpeHXDqSBNLiBLcmF3dXRzY2hrZSBbc3lzLiAmIG5ldC5B
ZG1pbiAgKFB1YmxpYyBBY2NvdW50KV0gKCkgPHN5cy5hZG1pbkByb2JvdHVtLmFp
PgUCYbdKPQAKCRDbzwpXwt8QadXfD/9B5IJWQOBpCJgEXMUmRcOFQB5BqMHyiry3
q0RjDM2fanMlahZj90ElFNOpxvktgy+mKHqnI4qqiieltkmVVgVyfU4e7rPPG3/d
VP6+/d4UHmleVylKiyHalUK/K/gfgo1MDbK22+L7EfsqP87TTrt0htGOg2E6H2iy
lB0NgLICyZiz4y7zXjhBIYJtjdS/NmIqSigCfTdDFtyrm2fSyZm8DIIAxRsb7Ku4
IkpHGrucVG1Pl1io8nefEXKobdOCuaRvjNC3pwLPDm8ecTgZrQuCerINbZwr6UOP
6bUvx9MRZtM378Yem2qV5AFmGmiCEEOSrlvF6zWZCgNXE7Oyf+uc746WDddY8cvZ
ZSGN5Eeq7zbASmdzkzdUU7CJrNwVtNO0PrEc8TelW+T5L/v+AMQreTFz7Xbu5S08
pT3wkq5Ndi4fSrzE/qLshG/2keYUSvVeVfHgn2fW8XiX/fQ3a5wF7vVRhCPLpIB5
djFTgHPnaCzVNR0aIo1rclKHKQPlE16Ixst76h6g/l9dxygW1a5QgIUHhB84gkbC
xBNHa6SeC9WrI1IfkkFPAoFCvElGMF7DmFmbL6z0Y8gudzD1JfPboOc/Nkrw9OTt
UZP0i1g73kwoqs43DXkyOgK344jRIGD0aqhX8U5LcXmbHLCmNZ175YLfKVFaps6Z
rtth81q4Ng==
=Ruca
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.