NEWS update about buffer overflow detection with GCC 10

Martin Sebor msebor@gmail.com
Tue May 12 19:04:12 GMT 2020


If this is in line with Glibc's practices, I'd like to add a brief
mention in the NEWS of file the recent enhancement to annotate some
Glibc APIs with GCC 10 attribute access.

How does the paragraph below sound?

Martin


diff --git a/NEWS b/NEWS
index 141078c319..5c5f099566 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,11 @@ Major new features:
    toolchains.  It is recommended to use GCC 8 or newer when testing
    this option.

+* To help detect buffer overflows and other out-of-bounds accesses
+  a number of APIs have been annotated with GCC attribute accesss.  This
+  allows GCC 10 to issue warnings for a greater subset such accesses
+  than previous versions.
+
  Deprecated and removed features, and other changes affecting 
compatibility:

  * The deprecated <sys/sysctl.h> header and the sysctl function have been


More information about the Libc-alpha mailing list