strlenopt-66.c: Avoid buffer overflow.
authorMartin Sebor <msebor@redhat.com>
Fri, 22 Nov 2019 00:51:16 +0000 (00:51 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Fri, 22 Nov 2019 00:51:16 +0000 (17:51 -0700)
commit7028c2179cc349653c5578fb5774389b1fffdaf1
tree163d5cfb955c2c0185626f0583a94ffe7417f3a1
parentfb6543092ebc796c2aa8c9792a8e052f31a4afcc
strlenopt-66.c: Avoid buffer overflow.

gcc/testsuite/ChangeLog:
* gcc.dg/strlenopt-66.c: Avoid buffer overflow.  Add more test cases.

From-SVN: r278608
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/strlenopt-66.c