From patchwork Mon Jan 30 17:29:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arne Schwabe X-Patchwork-Id: 3029 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7300:c95:b0:82:e4b3:40a0 with SMTP id p21csp3397589dyk; Mon, 30 Jan 2023 09:30:08 -0800 (PST) X-Google-Smtp-Source: AK7set/EJLy7mdj4VxL6Z8ETZa2/j+LhmCCYokjUeMv+u9pm6CdbbieehXC0SL849aq+wrKO+DS9 X-Received: by 2002:a17:90b:1d86:b0:22c:5cc0:eecc with SMTP id pf6-20020a17090b1d8600b0022c5cc0eeccmr11224717pjb.29.1675099807922; Mon, 30 Jan 2023 09:30:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675099807; cv=none; d=google.com; s=arc-20160816; b=oIy4gX9fUX2pGuTkMeMhT1/vdAjgSCh7SUZFC2BiudrzRyyN0NvsSI2v49ZHHnWMO8 LWYX5MJ5eyjndaNksPwFXhjxxKPi00u//LtHtkTVXtOj4KoXk0HCIU8FFZjWNQRPhWZ7 BC1fORtqR1Qq0TSFOjt2OsRx8lRcymhMESWLfMy4DbMV5DlPS0+7E3SSBgsmVudUdjsw eXaNaYLOwLKxMAlfzX96KlzY9nKdVhYKuJ6x/hk0IezQrYLoH400XFPdck8RvbGL1Z9q xAUyNRjicbwFupca/V36Il+QpjSMYlDzM5Xis/hHJgjsAwHNnrJFYJhdQJh8P0v7gV1E iwKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-signature; bh=io1IQl283P3E5ewCaebLOc8ARQzwqWQfEIzCUVtqfNA=; b=Y5NpMi2M7vRumq/dCEHApGblAi9WFuFEFVEym3Zr45vWBK5OdEnc8eUo7MbgOIHsRo S7hRbBcOZmQXP1tgOwUtpWIxtUcBctaVV3gvBFBe0heykofunWbn4QrJiu1IhVn3ovEX wJxghENJP7FO0LHgYhXsTocvY3MZXySLrXEKz0B9KCvUcPGoLsXD8zMuwpfJeFZg6San VgSoo5V+3DAGW2xpsA1U0gI8GSti7pBdpqMM7/kr4VL/SuS9tQoQjAYiurcHlMpb2lIW LzUh4lInQLYU6va0FL01rCkkjmGkpKXxjS5TVp+xeN9dYRZ0rCElYAgRrm7ilaS2Zb2B MT8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=fVXsIQGx; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=Pnp2CYHR; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id np18-20020a17090b4c5200b00218a8a158f5si14347948pjb.161.2023.01.30.09.30.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jan 2023 09:30:07 -0800 (PST) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=fVXsIQGx; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=Pnp2CYHR; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1pMXyW-0007HT-KW; Mon, 30 Jan 2023 17:29:47 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pMXyV-0007HG-81 for openvpn-devel@lists.sourceforge.net; Mon, 30 Jan 2023 17:29:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kUkgLhLlD3sIAtE74zA0FRZcG9Pz0icFbs44Delu7UE=; b=fVXsIQGxAcG/qVUZU4yeJMng0v qRetADbngR0QR2pZ42ZyXAaMDsjXeWl6JIlYvpZ/8b+eqJF/oZcWRNYbheuT6RR5TCZ87nwngxVC1 qcWUIuOFEpicNtdUgxd3sxVxVfiya4WbEV41J/nLknknKEiCNbSODrrt/W45o9BsF3Qw=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-Id: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=kUkgLhLlD3sIAtE74zA0FRZcG9Pz0icFbs44Delu7UE=; b=Pnp2CYHRVh3Dq4RuxNbWFsawAM sp7HauMsgA7FpewDXDWGSJcfNdjcnVuhdgahn0wgl1zM0OUajvweyL9VbjbtFxz3CnZU5YK/3e+Ju hK8X7+ErSL3Lv+SxgpW5BexYrGN1bRs42/Shar+fFD+Wpg2l9X7dEtm3DSymEGvqmYkI=; Received: from mail.blinkt.de ([192.26.174.232]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1pMXyT-003zQD-SD for openvpn-devel@lists.sourceforge.net; Mon, 30 Jan 2023 17:29:46 +0000 Received: from kamera.blinkt.de ([2001:638:502:390:20c:29ff:fec8:535c]) by mail.blinkt.de with smtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1pMXyK-000JyQ-TH for openvpn-devel@lists.sourceforge.net; Mon, 30 Jan 2023 18:29:36 +0100 Received: (nullmailer pid 3444896 invoked by uid 10006); Mon, 30 Jan 2023 17:29:36 -0000 From: Arne Schwabe To: openvpn-devel@lists.sourceforge.net Date: Mon, 30 Jan 2023 18:29:35 +0100 Message-Id: <20230130172936.3444840-4-arne@rfc2549.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230130172936.3444840-1-arne@rfc2549.org> References: <20230130172936.3444840-1-arne@rfc2549.org> MIME-Version: 1.0 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-1.v13.lw.sourceforge.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This allows identifying the source of undefined behaviour more easily from the github action logs. Signed-off-by: Arne Schwabe --- .github/workflows/build.yaml | 5 +++++ 1 file changed, 5 insertions(+) Content analysis details: (0.3 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record X-Headers-End: 1pMXyT-003zQD-SD Subject: [Openvpn-devel] [PATCH 4/5] Add printing USAN stack trace on github actions X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1756469456468539357?= X-GMAIL-MSGID: =?utf-8?q?1756469456468539357?= This allows identifying the source of undefined behaviour more easily from the github action logs. Signed-off-by: Arne Schwabe Acked-By: Frank Lichtenheld --- .github/workflows/build.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6adb69563..132624547 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -242,6 +242,9 @@ jobs: name: "clang-asan - ${{matrix.os}} - ${{matrix.ssllib}}" + env: + UBSAN_OPTIONS: print_stacktrace=1 + runs-on: ${{matrix.os}} steps: - name: Install dependencies @@ -291,6 +294,7 @@ jobs: LDFLAGS: ${{ matrix.ldflags }} OPENSSL_CFLAGS: "-I/usr/local/opt/${{matrix.libdir}}/include" OPENSSL_LIBS: "-L/usr/local/opt/${{matrix.libdir}}/lib -lcrypto -lssl" + UBSAN_OPTIONS: print_stacktrace=1 steps: - name: Install dependencies run: brew install openssl@1.1 openssl@3 lzo lz4 man2html cmocka libtool automake autoconf libressl @@ -400,6 +404,7 @@ jobs: CFLAGS: ${{ matrix.cflags }} LDFLAGS: ${{ matrix.ldflags }} CC: ${{matrix.cc}} + UBSAN_OPTIONS: print_stacktrace=1 steps: - name: Install dependencies