builtins.c
328 KB
-
PR middle-end/77608 - missing protection on trivially detectable runtime buffer overflow · af3fa359
gcc/ChangeLog: PR middle-end/77608 * builtins.c (compute_objsize): Handle non-constant offsets. gcc/testsuite/ChangeLog: PR middle-end/77608 * gcc.dg/Wstringop-overflow.c: New test. * gcc/testsuite/c-c++-common/Warray-bounds-3.c: Adjust. From-SVN: r255836
Martin Sebor committed