diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | NEWS | 12 |
2 files changed, 11 insertions, 6 deletions
@@ -1,3 +1,8 @@ +2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + * NEWS: Move memory allocation changes of BZ#23741 from 2.29 + to 2.30 notes. + 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org> [BZ #23741] @@ -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. |