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.