From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [IPv6:2001:a60:0:28:0:1:25:1]) by sourceware.org (Postfix) with ESMTPS id 12F9D3858D28 for ; Fri, 2 Dec 2022 12:34:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 12F9D3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nefkom.net Received: from frontend03.mail.m-online.net (unknown [192.168.6.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4NNsnl6QBpz1s89N; Fri, 2 Dec 2022 13:34:19 +0100 (CET) Received: from localhost (dynscan3.mnet-online.de [192.168.6.84]) by mail.m-online.net (Postfix) with ESMTP id 4NNsnl5lcsz1qqlR; Fri, 2 Dec 2022 13:34:19 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan3.mail.m-online.net [192.168.6.84]) (amavisd-new, port 10024) with ESMTP id jls8DKq4Z90h; Fri, 2 Dec 2022 13:34:19 +0100 (CET) X-Auth-Info: vUBD4fzFTYZSgUikJteNbYN3MqoG/zZbh2oxjk0FMQg+6VizX4RmjiSecUlijkuM Received: from igel.home (aftr-62-216-205-136.dynamic.mnet-online.de [62.216.205.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 2 Dec 2022 13:34:19 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id E524C2C31BA; Fri, 2 Dec 2022 13:34:18 +0100 (CET) From: Andreas Schwab To: Siddhesh Poyarekar Cc: libc-alpha@sourceware.org, fweimer@redhat.com, carlos@redhat.com Subject: Re: [RFC] Supporting malloc_usable_size References: <20221124213258.305192-1-siddhesh@gotplt.org> <87sfhyrp19.fsf@igel.home> X-Yow: Th' MIND is the Pizza Palace of th' SOUL Date: Fri, 02 Dec 2022 13:34:18 +0100 In-Reply-To: (Siddhesh Poyarekar's message of "Fri, 2 Dec 2022 07:22:17 -0500") Message-ID: <87o7smrnlh.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no 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 Dez 02 2022, Siddhesh Poyarekar wrote: > However the man page starts with "Although the excess bytes can be > overwritten by the application without ill effects" and maybe that > reassurance needs to be dropped. Or perhaps amended: "until the next call to malloc/realloc/free in any thread". -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."