From patchwork Sun Apr 21 11:40:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 162596 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1511478jan; Sun, 21 Apr 2019 04:41:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxv18hdsj8te80SVoELw/Qx89PbW2EQnC6q2cxJs4+0CSxbcyCqpqAE2oWSfQuDHzaJnLcp X-Received: by 2002:a17:902:9b83:: with SMTP id y3mr14448080plp.165.1555846878067; Sun, 21 Apr 2019 04:41:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555846878; cv=none; d=google.com; s=arc-20160816; b=P7coYxQkAeymUeMND7+7BiEedHDyxjmQxhcVe0r2KuVfHvqu0didBnuHUm64QC4vKZ MHeUzyDDDJue7ZoJfo+w95Cce+5is2F5Ci4WbiPS+BcPHUoBIg06TfcExlXkyiJ/38hM biSPlaTuSP003i7dwUzrSIUrG0TABOcJ37jPYA2hfW30GJMEz7IochUYRpZblSKhu1YR LeFMzhNrbTSkerK8muxYZ3mR8yL+PgsdCLFhDdasUbSNN6HnhmGAvPAsqfUGl/HWfhP3 uWVv201NCQzqqvcGxlja37lX4DkxiW4RXI3p172dMLwsGl1ZP3MF9+gD1owf9TShCLx1 GZFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:to:from:dkim-signature:delivered-to:sender :list-help:list-post:list-archive:list-subscribe:list-unsubscribe :list-id:precedence:mailing-list:dkim-signature:domainkey-signature; bh=hJh0WLG6NBZo+yJfez1uGOdru2efBnMYJVid4nvnzlY=; b=E1X9BZE4bAdbUSK5kGLAEw1y9lifDJSHlQeFDsH26vmdhNmZO6ZvqxqEngxRbsECFk zs6IoOLeG0f2Rz4MhrYCT1EvQC8XE8ah+JGQLcX7IAp06HaV/gmrYPqbRUbsClg6d/0q urpzYNMlCU0FLs0iZfds4rtZhxTaALpyEgR9xXqgUIxxMgtMbqUjdTCAW+nZcKuxKYs7 V5JfGVBiwbTJ4KY6ln1g6clKq8HdU4iVd6GYEwFXrEOOcSZfaqBQ8thiIcu/nRJqUQqF q3Cs95H4Np9YzOsnYKsfA78Xb6C9vBuQHWGTqvGE9hk8ycd5kCz6SyllTMt0uqR1uNWI rE3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=wGWn0C7v; dkim=pass header.i=@linaro.org header.s=google header.b=jRYRF6lf; spf=pass (google.com: domain of libc-alpha-return-101546-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-101546-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id d13si9986303pgg.1.2019.04.21.04.41.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Apr 2019 04:41:18 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-101546-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=wGWn0C7v; dkim=pass header.i=@linaro.org header.s=google header.b=jRYRF6lf; spf=pass (google.com: domain of libc-alpha-return-101546-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-101546-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=US15SHhdSt+eiubzNy7a80RW74OnvdVki/ysMRtw4aMuqyU+sLNUN VKh4UVU3lrh3ZvRUJjYvrzSRCynXTdnOBUy9EnaY5hOBRDIi2Mkqa+f6zTxIJ+Lw X8ga0RqNZgT42auwNoggxq+nKYrIUMbDLFFgEA8P487m/VYH7kVJmA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=Js1oljwXxUgXMUtKlhpvx/dv3mw=; b=wGWn0C7vTdv4vLq/CfUA1447YXRp Oofu23EpAOIKGA3sdd0zSx9mqOg5c+wxX2618YnFWH2f/OAUyGHqvQElW8dNUOrS 8a2LYT7mtSK2NyiCLYKoyDZSnOBTZ3SRrhOOj/+9++/t79EWP3Qpl3JICM8ugo8/ UxPyN+wp5x8yNT4= Received: (qmail 4896 invoked by alias); 21 Apr 2019 11:41:07 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 4888 invoked by uid 89); 21 Apr 2019 11:41:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=Major, deprecated X-HELO: mail-vs1-f51.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id; bh=hJh0WLG6NBZo+yJfez1uGOdru2efBnMYJVid4nvnzlY=; b=jRYRF6lfCU31eqKIqpp/JwR+CYZSbW2wYyC1MjN45WW+N0xS+1bnTs4ZdKMPdBw7Ol 5PRmQQg3y32/9/hcE/q7P2EzrCqs/NZOAmE/CkhcJFXRrFQfqNcA7d05kIH3kol//SKt /d/QXbPY38gDH1GcogFSZ/Dg/4cU43r8NO4ywlaE99H8oXSG7Y0j8fRUmPAYZhCSSBjJ yQO7u2ZunrK1PRvoWvOkL6HvzS3cAtFeIMxYHI464hpaqkwyp6cfqIPW42VHSeJL4bKy OWTelq4of8Z4pjIQiCHqgKUCY/8/dri5rCgnjitCitOKNfn4E5WFw2IpNWWSGZOSryOq Kj1A== Return-Path: From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [COMMITTED] Fix NEWS entry from 9bf8e29ca136 Date: Sun, 21 Apr 2019 08:40:59 -0300 Message-Id: <20190421114059.22049-1-adhemerval.zanella@linaro.org> * NEWS: Move memory allocation changes of BZ#23741 from 2.29 to 2.30 notes. --- ChangeLog | 5 +++++ NEWS | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) -- 2.17.1 diff --git a/NEWS b/NEWS index db1ca8125b..63581b3618 100644 --- a/NEWS +++ b/NEWS @@ -24,6 +24,12 @@ Major new features: * The entry for the new Japanese era has been added for ja_JP locale. +* Memory allocation functions malloc, calloc, realloc, reallocarray, valloc, + pvalloc, memalign, and posix_memalign fail now with total object size + larger than PTRDIFF_MAX. This is to avoid potential undefined behavior with + pointer subtraction within the allocated object, where results might + overflow the ptrdiff_t type. + Deprecated and removed features, and other changes affecting compatibility: * The functions clock_gettime, clock_getres, clock_settime, @@ -160,12 +166,6 @@ Deprecated and removed features, and other changes affecting compatibility: as all functions that call vscanf, vfscanf, or vsscanf are annotated with __attribute__ ((format (scanf, ...))). -* Memory allocation functions malloc, calloc, realloc, reallocarray, valloc, - pvalloc, memalign, and posix_memalign fail now with total object size - larger than PTRDIFF_MAX. This is to avoid potential undefined behavior with - pointer subtraction within the allocated object, where results might - overflow the ptrdiff_t type. - Changes to build and runtime requirements: * Python 3.4 or later is required to build the GNU C Library.