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 Netto X-Patchwork-Id: 32352 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(-) 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.