From 25f7a3c96116a9102df8bf7b04ef160faa32416d Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Sun, 21 Apr 2019 08:39:25 -0300 Subject: [PATCH] Fix NEWS entry from 9bf8e29ca136 * 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/ChangeLog b/ChangeLog index 79e9589aaf..cf8ef5f881 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-04-21 Adhemerval Zanella + + * NEWS: Move memory allocation changes of BZ#23741 from 2.29 + to 2.30 notes. + 2019-04-18 Adhemerval Zanella [BZ #23741] 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. -- 2.43.5