From: "cron2 (Code Review)"
Date: Sat, 30 Dec 2023 15:46:55 +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="WjAWJK6RySU="; charset=UTF-8
Subject: [Openvpn-devel] [S] Change in openvpn[master]: Fix unaligned access
in macOS, FreeBSD, Solaris hwaddr
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: plaisthos
Cc: flichtenheld , openvpn-devel
--WjAWJK6RySU=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: plaisthos.
cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope=
nvpn/+/454?usp=3Demail )
Change subject: Fix unaligned access in macOS, FreeBSD, Solaris hwaddr
......................................................................
Patch Set 2:
(1 comment)
File src/openvpn/route.c:
http://gerrit.openvpn.net/c/openvpn/+/454/comment/ffdd8937_e4a1e87d :
PS2, Line 3703: * Since we only copied 32 bytes from c=
p to ifr but sdl
> If ifr_addr. [=E2=80=A6]
Ah, no, it's not that easy. The code above does some arithmetics with len=
=3D...+max(), but then doesn't actually memcpy(..., len) bytes but sizeof(i=
fr).
Need to think through this again. But however, the comments need work to b=
e understandable for mere mortals :-)
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/454?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: Ia797c8801fa9a9bc10b6674efde5fdbd7132e4a8
Gerrit-Change-Number: 454
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos
Gerrit-Reviewer: cron2
Gerrit-Reviewer: flichtenheld
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Comment-Date: Sat, 30 Dec 2023 15:46:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2
Gerrit-MessageType: comment
--WjAWJK6RySU=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Ah, no, it's not that easy. The code above does s=
ome arithmetics with len=3D...+max(), but then doesn't actually memcpy(=
..., len) bytes but sizeof(ifr).
Need to think through this again. But however, the com=
ments need work to be understandable for mere mortals :-)
To view, visit change 454. To unsubscribe, or for help writing mail fil=
ters, visit settings.
<=
meta itemprop=3D"name" content=3D"View Change"/>