Date: Thu, 18 Mar 2021 10:34:14 +0100 (CET) Message-Id: <202103180934.12I9YEw4086581@...2054...> From: Gert Doering In-Reply-To: <20210316124421.1635-1-arne@...1227...> References: <20210316124421.1635-1-arne@...1227...> Subject: [Openvpn-devel] [PATCH applied] Re: Avoid generating unecessary mbed debug messages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Arne Schwabe Cc: openvpn-devel@lists.sourceforge.net Acked-by: Gert Doering Tested with exactly that testbed that initially discovered the SIGSEGV, and as expected, it no longer crashes. Verified that it still crashes with "--verb 8" (it does). Code also looks secure and does what it says on the lid. That said, ACKed and merged, I'm still not totally happy with the approach chosen - this is quite some new lines of code to change one "3" into a "2", depending on the value of one other variable... but we discussed this before, and Arne did not want to have the mbedTLS code "peek" into get_debug_level() to get at the --verb setting. Since Steffan is fine with this approach, I'm clearly the minority here... .. while writing this, the ACK from Steffan came in... so, recording that as well... MULTI-ACK! :-) - and fixing the comment as requested. Your patch has been applied to the master and release/2.5 branch (stability / long-term compat thing). commit 4524feb2bbbb6d1bd463a0c5c2d53aae5bdf360a (master) commit 475d17a53eba85591f270008f8b583383a5b9afa (release/2.5) Author: Arne Schwabe Date: Tue Mar 16 13:44:21 2021 +0100 Avoid generating unecessary mbed debug messages Signed-off-by: Arne Schwabe Acked-by: Gert Doering Message-Id: <20210316124421.1635-1-arne@...1227...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21667.html Signed-off-by: Gert Doering -- kind regards, Gert Doering