From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id E7AD73858D3C for ; Wed, 10 Apr 2024 23:20:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E7AD73858D3C 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 E7AD73858D3C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712791261; cv=none; b=sVYBsHVACD2I9EiCNbhGaNQsOw7k5dNFK/lQ+UIiY2ekiknBlNnCNROgxqVUByAxF/ZcWfy62l+FekL+TCtxFerzjUgaOUx4Af1nIqBHKVAHwOMhSF0MnW90KeBA639ddD7wg95Fta+Z/Xo5uj0X9iwQgOEd9pgKP8j4Ha2jJiI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712791261; c=relaxed/simple; bh=D6mvQ4T6wOh/cz4TULU14HMZkdPKyOeKeTMtvN1MpmQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Q/TY0OAXVVGzjA7EOyhUW0HSXarCEgPOxRL4rWd3bhdDXGgJV1sB3kcee1Vcs5gKZtFMISmdAeUy6/Ty0UvmZkAMfWajwOlV1xXquU13L/ddRrSutmkkL5nhT/Brc5/L22lhnewRQaw0VAIWFEaGEeHtrExXrc8WZb2voQtSRI4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712791259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=o4p/jbMG/8/gGp+zCE/1zkICOk1v7qlyRtWJygCwroE=; b=EzDpvHAxPpbhrOcVkaSG731vlZP3MmH84ZLVZoVnMiIOezqASTMOWl1wGdNErbTcE1da8I 7ZbPZuLna8yd7UN/FwXSEJe3u/eKusBk2GAjHWWzirrMWZysvayTdJPmAm3OEmVoNpUIty Y2mQ7L0MwFrgSLHHUtbn8g4rAlM5UU0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-66-3PEw0YmDMNOlJrQIbFaJ1Q-1; Wed, 10 Apr 2024 19:20:58 -0400 X-MC-Unique: 3PEw0YmDMNOlJrQIbFaJ1Q-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (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 mimecast-mx02.redhat.com (Postfix) with ESMTPS id E483A188E9C1; Wed, 10 Apr 2024 23:20:57 +0000 (UTC) Received: from greed.delorie.com (unknown [10.22.8.9]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CFDC610E4B; Wed, 10 Apr 2024 23:20:57 +0000 (UTC) Received: from greed.delorie.com.redhat.com (localhost [127.0.0.1]) by greed.delorie.com (8.16.1/8.16.1) with ESMTP id 43ANKvO71390846; Wed, 10 Apr 2024 19:20:57 -0400 From: DJ Delorie To: Adhemerval Zanella Cc: libc-alpha@sourceware.org Subject: Re: [PATCH v4 2/2] wcsmbs: Ensure wcstr worst-case linear execution time (BZ 23865) In-Reply-To: <20240319131528.3222248-3-adhemerval.zanella@linaro.org> (message from Adhemerval Zanella on Tue, 19 Mar 2024 10:15:28 -0300) Date: Wed, 10 Apr 2024 19:20:57 -0400 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,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 List-Id: I diff'd this with the older ones, and the only difference was the removal of the loops. It still doesn't test for the time aspect of this change, but it a least tests for the needle cases. I still think a true time-based test is needed, but I don't think we'll be getting one soon, and I won't hold up the rest of the patch for one. Sorry for the delay. LGTM Reviewed-by: DJ Delorie