From: Heiko Hund Date: Thu, 30 Jun 2022 15:44:30 +0200 Message-ID: <5069006.p9XQp8U4Oj@...2664...> In-Reply-To: <20220629124945.13448-1-a@...2181...> References: <20220629122924.13031-1-a@...2181...> <20220629124945.13448-1-a@...2181...> MIME-Version: 1.0 Subject: Re: [Openvpn-devel] [PATCH v4] dco: let open_tun_generic handle the DCO case List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: openvpn-devel@lists.sourceforge.net On Mittwoch, 29. Juni 2022 14:49:45 CEST Antonio Quartulli wrote: > name when not specified b the user. For this reason the DCO case can nit: b -> by > + strncpynt(tunname, dynamic_name, > + sizeof(dynamic_name)); This need to be sizeof(tunname).