From: "flichtenheld (Code Review)" Date: Tue, 26 Nov 2024 17:08:51 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., alex@...2837..., openvpn-devel@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="gebqq+3XOSY="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: Haiku: Add calls to manage routing table List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kallisti5 Cc: plaisthos , openvpn-devel --gebqq+3XOSY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: kallisti5, plaisthos. flichtenheld has posted comments on this change. ( http://gerrit.openvpn.ne= t/c/openvpn/+/688?usp=3Demail ) Change subject: Haiku: Add calls to manage routing table ...................................................................... Patch Set 3: Code-Review-1 (7 comments) File src/openvpn/route.c: http://gerrit.openvpn.net/c/openvpn/+/688/comment/cb24a5fc_d8a53a2e : PS3, Line 3940: sockfd =3D socket(AF_INET, SOCK_DGRAM, 0); Can be merged with the previous line? http://gerrit.openvpn.net/c/openvpn/+/688/comment/e8a07f51_932f4e4e : PS3, Line 3942: msg(M_INFO, "%s: Error opening socket for AF_INET",= __func__); M_ERRNO? http://gerrit.openvpn.net/c/openvpn/+/688/comment/4b71cd90_2cc12dc0 : PS3, Line 3949: msg(M_INFO, "%s: Error getting routing table size",= __func__); M_ERRNO? http://gerrit.openvpn.net/c/openvpn/+/688/comment/cdfe37bd_7ed2e6c0 : PS3, Line 3958: N Use `check_malloc_return`. http://gerrit.openvpn.net/c/openvpn/+/688/comment/2837f36b_f5691068 : PS3, Line 3976: strcpy(rgi->iface, interface->ifr_name); Should probably use `strcpynt` http://gerrit.openvpn.net/c/openvpn/+/688/comment/259f47d5_648923cf : PS3, Line 3979: int32 addressSize =3D 0; no CamelCase please. http://gerrit.openvpn.net/c/openvpn/+/688/comment/dfdc0992_8f8edb22 : PS3, Line 3990: } This seems to leak memory from the malloc? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/688?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I1a22724f28c5cd47f6df178b49f44087d7c2b6fd Gerrit-Change-Number: 688 Gerrit-PatchSet: 3 Gerrit-Owner: kallisti5 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: kallisti5 Gerrit-Comment-Date: Tue, 26 Nov 2024 17:08:51 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment --gebqq+3XOSY= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: kallisti5, plaisthos.

Patch set 3:Code-Review -1=

Vi= ew Change

7 comments:

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

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1a22724f28c5cd47f6df178b49f= 44087d7c2b6fd
Gerrit-Change-Number: 688
Gerrit-PatchSet: 3
Gerrit-Owner: kallisti5 <alex@...2837...>= ;
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
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: kallisti5 <alex@...2839...= .>
Gerrit-Comment-Date: Tue, 26 Nov 2024 17:08:51= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
--gebqq+3XOSY=--