https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81117

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
Redoing https://gcc.gnu.org/ml/gcc-bugs/2017-08/msg01672.html

--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Mon Aug 14 20:21:44 2017
New Revision: 251100

URL: https://gcc.gnu.org/viewcvs?rev=251100&root=gcc&view=rev
Log:
PR c/81117 - Improve buffer overflow checking in strncpy - part 2

gcc/ChangeLog:

        PR c/81117
        * doc/extend.texi (attribute nonstring): Document new attribute.

gcc/c-family/ChangeLog:

        PR c/81117
        * c-attribs.c (c_common_attribute_table): Add nonstring entry.
        (handle_nonstring_attribute): New function.

gcc/testsuite/ChangeLog:

        PR c/81117
        * c-c++-common/attr-nonstring-1.c: New test.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-attribs.c
    trunk/gcc/doc/extend.texi
    trunk/gcc/testsuite/ChangeLog

Reply via email to