From patchwork Fri Aug 2 13:22:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1968365 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ecXcLitf; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4Wb63Q15Rjz1yZl for ; Fri, 2 Aug 2024 23:23:30 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 438113858D34 for ; Fri, 2 Aug 2024 13:23:28 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id D0709385B50B for ; Fri, 2 Aug 2024 13:22:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D0709385B50B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D0709385B50B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722604951; cv=none; b=Y86Gmc19fVl8yzFBw7Pv8kxVuXM/bUChpmgUHBcQwYmWJBCOAtqXnwDGKL4f4cJaBUr+JQSGOWvoqgM5caIIzKwkuw6IJ8HLx3f96bxkNUIUmRkuOUeQze4IZBAGFaAM/3UDhJ41f4zKVyQOFCAuDaiT7IoVpborPVQZMbMebBE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722604951; c=relaxed/simple; bh=WlflBsFpRnPUOR1RP5H2GVU1GCeRAmT2QIQP0O+5Jq4=; h=DKIM-Signature:From:To:Subject:Message-ID:Date:MIME-Version; b=VONBLempsvlqNwhmtgbEYu1OiqWTf3phqyK6wEc/g7hFJ9vpS71u9f/1cXML/4+sb2xi0HM9TqtlvPcSo2knX8OJdMjfZfd0nQ1yXE4GFKSSGU9p4GQa5QGEVFhSzQh/2A7Qdiwx4cVL76QVmsOe9fTsDN9XOlcoQdFE0OZM2jw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1722604948; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tyJplB8Bu2A1eStLvppwZTyEb6hm1xASM++IsctYyj4=; b=ecXcLitfVht/4HemeEeSfcH+X8dcms3qXzoiPhDE8A8bDZHGy+eptEajfINDzJD0xHxsOL aop3ywmSyXCc8TXKhnVbbXA4XYLjMGNVp5RspL9HWauU/I4/c3HvEHubUQYoasfW79OVi6 VbzPZIalD5q7EBV7+3MmlbkaE02srkM= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-631-DV9eGMgqMJ2Npel9uo6b9A-1; Fri, 02 Aug 2024 09:22:27 -0400 X-MC-Unique: DV9eGMgqMJ2Npel9uo6b9A-1 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 894151955F45 for ; Fri, 2 Aug 2024 13:22:26 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.45.224.139]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5EA423000198 for ; Fri, 2 Aug 2024 13:22:25 +0000 (UTC) From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH 3/4] nss: Fix incorrect switch fall-through in tst-nss-gai-actions In-Reply-To: Message-ID: <8f5c9665df60b69a45673bb22309f597ec4eb719.1722604821.git.fweimer@redhat.com> References: X-From-Line: 8f5c9665df60b69a45673bb22309f597ec4eb719 Mon Sep 17 00:00:00 2001 Date: Fri, 02 Aug 2024 15:22:22 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org This only happened on test failure. Reviewed-by: Adhemerval Zanella --- nss/tst-nss-gai-actions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nss/tst-nss-gai-actions.c b/nss/tst-nss-gai-actions.c index efca6cd183..e42bbd6cae 100644 --- a/nss/tst-nss-gai-actions.c +++ b/nss/tst-nss-gai-actions.c @@ -92,6 +92,7 @@ do_one_test (int action, int family, bool canon) printf ("merge unexpectedly succeeded:\n %s\n", formatted); support_record_failure (); free (formatted); + break; } else return;