From: "cron2 (Code Review)" Date: Sat, 11 Oct 2025 09:06:22 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="TfL9xG7/2qE="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: test_dhcp: Start a dhcp helper functions UT List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: plaisthos , openvpn-devel --TfL9xG7/2qE= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. cron2 has posted comments on this change by flichtenheld. ( http://gerrit.o= penvpn.net/c/openvpn/+/1267?usp=3Demail ) Change subject: test_dhcp: Start a dhcp helper functions UT ...................................................................... Patch Set 1: Code-Review-2 (1 comment) Patchset: PS1: ``` test_dhcp.c: In function =E2=80=98test_write_dhcp_search_str=E2=80=99: test_dhcp.c:71:83: error: \x used with no following hex digits 71 | const char output_1[27] =3D "\x77\x1a\x07openvpn\x03net\x00\x07= openvpn\x{03}com"; | = ^ test_dhcp.c:71:31: error: initializer-string for array of =E2=80=98char=E2= =80=99 is too long [-Werror] 71 | const char output_1[27] =3D "\x77\x1a\x07openvpn\x03net\x00\x07= openvpn\x{03}com"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~ test_dhcp.c:116:64: error: \x used with no following hex digits 116 | const char output_5[15] =3D "\x77\x0d\x03sub\x00\x{06}domain"; | ^ test_dhcp.c:116:31: error: initializer-string for array of =E2=80=98char=E2= =80=99 is too long [-Werror] 116 | const char output_5[15] =3D "\x77\x0d\x03sub\x00\x{06}domain"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:3164: dhcp_testdriver-test_dhcp.o] Error 1 ``` -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1267?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I08e50030b1b692d351509f541e5c0b03b5170615 Gerrit-Change-Number: 1267 Gerrit-PatchSet: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Sat, 11 Oct 2025 09:06:22 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes --TfL9xG7/2qE= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: flichtenheld, plaisthos.

Patch set 1:Code-Review -2=

V= iew Change

1 comment:

  • Patchset:

    • Patch Set #1:

      ```
      test_dhcp.c: In function =E2=80=98test_write_dhcp_search_str=E2= =80=99:
      test_dhcp.c:71:83: error: \x used with no following hex digits 71 | const char output_1[27] =3D "\x77\x1a\x07openvpn\x03net\= x00\x07openvpn\x{03}com";
      | = ^
      test_dhcp.c:71:31: er= ror: initializer-string for array of =E2=80=98char=E2=80=99 is too long [-W= error]
      71 | const char output_1[27] =3D "\x77\x1a\x07openvpn= \x03net\x00\x07openvpn\x{03}com";
      | = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      test_dhcp.c:11= 6:64: error: \x used with no following hex digits
      116 | const char= output_5[15] =3D "\x77\x0d\x03sub\x00\x{06}domain";
      | = ^
      test_dhc= p.c:116:31: error: initializer-string for array of =E2=80=98char=E2=80=99 i= s too long [-Werror]
      116 | const char output_5[15] =3D "\x77\= x0d\x03sub\x00\x{06}domain";
      | = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cc1: all warnings being treated as err= ors
      make[2]: *** [Makefile:3164: dhcp_testdriver-test_dhcp.o] Error 1```

To view, visit change 1267. To unsubscribe, or= for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I08e50030b1b692d351509f541e5= c0b03b5170615
Gerrit-Change-Number: 1267
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Sat, 11 Oct 2025 09:06:22= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
= --TfL9xG7/2qE=--