From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id 26C693858D20; Thu, 14 Sep 2023 10:00:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 26C693858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 6137E1F894; Thu, 14 Sep 2023 10:00:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1694685619; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2eiB1Yj4pik8ZNT842YVS0ebRVTtS0PXPD7KTlBd614=; b=ZG4rjcKwjfLWL2JbdNPY8qNfQlvd32DjdHcHQJIlVTJVmLPzEOpMc5CgB3t8SnJ7MOT00j sBHYeQIwVWdvHWuymDWTzj2+dRRMvneuZSbczdEmunGHX2Vwr1+rDsry4p/tejGQTNJefj IOCrLGXKuaEc0SZnd3pDWi4UGdkEI8Y= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1694685619; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2eiB1Yj4pik8ZNT842YVS0ebRVTtS0PXPD7KTlBd614=; b=4x6DGodGJb0gKDuWhbtLJEs/gWu/vdqN2LD66mVJFIC0Q7xVh2okLyZpPlSFYbS9bpe97D F53312AfAMKwugAw== Received: from hawking.nue2.suse.org (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 4CDD12C142; Thu, 14 Sep 2023 10:00:19 +0000 (UTC) Received: by hawking.nue2.suse.org (Postfix, from userid 17005) id 4D3D44A04BB; Thu, 14 Sep 2023 12:00:19 +0200 (CEST) From: Andreas Schwab To: Siddhesh Poyarekar Cc: libc-alpha@sourceware.org, fweimer@redhat.com, carlos@redhat.com Subject: Re: [PATCH v2] getaddrinfo: Fix use after free in getcanonname (CVE-2023-4806) In-Reply-To: (Siddhesh Poyarekar's message of "Thu, 14 Sep 2023 05:57:55 -0400") References: <20230913173638.3067388-1-siddhesh@sourceware.org> <20230913205628.3113433-1-siddhesh@sourceware.org> <0a0bc1d3-49a3-b78b-b357-4eea236e25dc@sourceware.org> X-Yow: FOOLED you! Absorb EGO SHATTERING impulse rays, polyester poltroon!! Date: Thu, 14 Sep 2023 12:00:19 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,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 List-Id: On Sep 14 2023, Siddhesh Poyarekar wrote: > On 2023-09-14 05:55, Andreas Schwab wrote: >> On Sep 14 2023, Siddhesh Poyarekar wrote: >> >>> On 2023-09-14 04:37, Andreas Schwab wrote: >>>>> +static void do_prepare (int a, char **av) >>>>> +{ >>>>> + FILE *hosts = xfopen ("/etc/hosts", "w"); >>>> Doesn't that mean the test needs to be run as root? >>>> >>> >>> Yes, that's why it's a container test. >> I don't see where it's enabled. >> > > Right here in nss/Makefile: No, there is no root. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."