From: "kallisti5 (Code Review)" Date: Tue, 26 Nov 2024 18:56:02 +0000 In-Reply-To: References: Reply-To: alex@...2837..., 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="KGm9i7l6lbA="; 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: , Cc: flichtenheld , plaisthos , openvpn-devel --KGm9i7l6lbA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. kallisti5 has posted comments on this change. ( http://gerrit.openvpn.net/c= /openvpn/+/688?usp=3Demail ) Change subject: Haiku: Add calls to manage routing table ...................................................................... Patch Set 5: (8 comments) Patchset: PS5: Changes 99% done. One remaining. strncpy? Not sure what strcpynt is. File src/openvpn/route.c: http://gerrit.openvpn.net/c/openvpn/+/688/comment/b11d677f_d33d20c9 : PS3, Line 3940: sockfd =3D socket(AF_INET, SOCK_DGRAM, 0); > Can be merged with the previous line? Done http://gerrit.openvpn.net/c/openvpn/+/688/comment/ad7dfc0e_82230690 : PS3, Line 3942: msg(M_INFO, "%s: Error opening socket for AF_INET",= __func__); > M_ERRNO? Done http://gerrit.openvpn.net/c/openvpn/+/688/comment/edd8c58c_a5545f1a : PS3, Line 3949: msg(M_INFO, "%s: Error getting routing table size",= __func__); > M_ERRNO? Done http://gerrit.openvpn.net/c/openvpn/+/688/comment/15117370_186fb3a1 : PS3, Line 3958: N > Use `check_malloc_return`. Done http://gerrit.openvpn.net/c/openvpn/+/688/comment/c99a0ee5_6001d640 : PS3, Line 3976: strcpy(rgi->iface, interface->ifr_name); > Should probably use `strcpynt` strncpy? http://gerrit.openvpn.net/c/openvpn/+/688/comment/a9cb3152_0855c379 : PS3, Line 3979: int32 addressSize =3D 0; > no CamelCase please. Done http://gerrit.openvpn.net/c/openvpn/+/688/comment/3a9f5015_6ae45d40 : PS3, Line 3990: } > This seems to leak memory from the malloc? Done -- 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: 5 Gerrit-Owner: kallisti5 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Tue, 26 Nov 2024 18:56:02 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: flichtenheld Gerrit-MessageType: comment --KGm9i7l6lbA= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos.

View C= hange

8 comments:

<= /ul>

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

<= div itemscope itemtype=3D"http://schema.org/EmailMessage">
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1a22724f28c5cd47f6df178b49f= 44087d7c2b6fd
Gerrit-Change-Number: 688
Gerrit-PatchSet: 5
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: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Tue, 26 Nov 2024 18:56:02= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <frank@...1186...= .2641...>
Gerrit-MessageType: comment
--KGm9i7l6lbA=--