Date: Fri, 31 Oct 2025 11:07:24 +0100 (CET) Message-Id: <202510311007.59VA7OrB052702@...2054...> From: Gert Doering In-Reply-To: <20251030195244.2659-1-gert@...1296...> References: <20251030195244.2659-1-gert@...1296...> Subject: [Openvpn-devel] [PATCH applied] Re: PUSH_UPDATE server: invalid read bug-fix and unit-tests improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Marco Baffo Cc: openvpn-devel@lists.sourceforge.net I have stared-at-code for a while (looks reasonable), subjected to the client/server testbed (which does not actually *do* PUSH_UPDATE yet, still), and ran a few manual tests. This all works as it did before - did not try to find new and interesting edge cases. (I did *not* actively try, but still found #889...) We might eventually clean up the repeated { + buffer_list_free(msgs); gc_free(&gc); return 1; } clauses into a common "cleanup:" clause... but this is also not important right now. We should refrain from adding even more cleanups there, though ;-) The extra unit tests are very welcome. Your patch has been applied to the master branch. commit 6b0208e962aadf285ecc7ab47cc973a9018e3f24 Author: Marco Baffo Date: Thu Oct 30 20:52:35 2025 +0100 PUSH_UPDATE server: invalid read bug-fix and unit-tests improvements Signed-off-by: Marco Baffo Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1316 Message-Id: <20251030195244.2659-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34073.html Signed-off-by: Gert Doering -- kind regards, Gert Doering