Message ID | 20240614081351.2088185-6-benjamin@sipsolutions.net |
---|---|
State | Accepted |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=kFS7UbG+; dkim=temperror header.d=sipsolutions.net header.i=@sipsolutions.net header.a=rsa-sha256 header.s=mail header.b=mnITPrCm; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W0sXQ3YKWz20XL for <incoming@patchwork.ozlabs.org>; Fri, 14 Jun 2024 18:15:18 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GKnAtdEHRKwoEsQr2/R7dY/kdD08iNRSqhVY+PgD9kQ=; b=kFS7UbG+/AZQCr BnvRokkhSlHyuLzvOptar3aIqe/MyndnPySl5vXZ/2pBnypT0QSELV7oRLJO8byWg0rbSICv0+l10 zHPLWtpryWuickEs80xIj1L7geOU+zn1UeJX6jCII343O/SGDYRL2uOoLHeCXDUiF1Ji8BBd9ByeW hCjmm59oXbtYR7PhuDy9XRLOt7hginaMkMeMYnQibHzHIbmLw22QJVf6OuWgKdTKfbXQDdwRC0jLw b4DSzq9m1s3mRYq7SrAF40i+C6F70fUIaW/a9nkBwH8aw8NrgYRAnIxTCpF/f+RL9sycQjLI5o/CX 5OijdfBpg99TEfvWrDcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI25D-00000001wHy-1nr1; Fri, 14 Jun 2024 08:14:51 +0000 Received: from s3.sipsolutions.net ([2a01:4f8:242:246e::2] helo=sipsolutions.net) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI259-00000001wGL-29no for hostap@lists.infradead.org; Fri, 14 Jun 2024 08:14:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Content-Type:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=9Z0No5/odfasg3ldoELSq15CaCX73odd8xYSWRtRRiw=; t=1718352887; x=1719562487; b=mnITPrCmj8N9t5J4/d260mEovsYi7qgBEROuFgmv3Iwgxr7 jZmwSeu0FNTHLlFD17zN5uIxCKnjmZIVXyDVjyqkzxas1XIyAnuRNyz2EhwEl4QeAW8K6Jodl44GT WLPOrQD9pIRQHPIwWJLUM5f/Q1ikd+srZDsoCwArfcp0jCO8B83vKyGo723UggMjzgmdegXdoxc/J QmWnkOPWEjNjTRJ8AsVrtVfbsNPHVqV2DrO6AvtZe3OL7i+pnc6HK3zYnHjmyKXrZtszKaLOriwr8 20UymuQ724v7PgAULR97WznO5PS50IAcyq/+aogCUB4MeCqKhXN/eVAZO1T7CmWQ==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from <benjamin@sipsolutions.net>) id 1sI256-0000000DZLi-2DtE; Fri, 14 Jun 2024 10:14:44 +0200 From: benjamin@sipsolutions.net To: hostap@lists.infradead.org Cc: Benjamin Berg <benjamin.berg@intel.com> Subject: [PATCH 05/10] tests: Use more specific alloc_fail location Date: Fri, 14 Jun 2024 10:13:46 +0200 Message-ID: <20240614081351.2088185-6-benjamin@sipsolutions.net> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240614081351.2088185-1-benjamin@sipsolutions.net> References: <20240614081351.2088185-1-benjamin@sipsolutions.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240614_011447_581895_49DF1ACF X-CRM114-Status: GOOD ( 10.81 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", 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: From: Benjamin Berg <benjamin.berg@intel.com> The test here is triggering the allocation failure in the static wpa_config_parse_password helper. Use this and decrease the count instead of matching both wpa_config_set_quoted and wpa_config_set and [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.0 T_SCC_BODY_TEXT_LINE No description available. X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
Some ASAN/UBSAN related fixes
|
expand
|
diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index 9cf2d90404..35cb0b8fe9 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -6018,7 +6018,7 @@ def test_ap_hs20_set_profile_failures(dev, apdev): interworking_select(dev[0], bssid, "home", freq=2412) dev[0].dump_monitor() dev[0].request("NOTE wpa_config_set(password)") - with alloc_fail(dev[0], 3, "wpa_config_set;interworking_set_eap_params"): + with alloc_fail(dev[0], 1, "wpa_config_parse_password;interworking_set_eap_params"): dev[0].request("INTERWORKING_CONNECT " + bssid) wait_fail_trigger(dev[0], "GET_ALLOC_FAIL") with alloc_fail(dev[0], 1, "interworking_set_hs20_params"):