This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Ensure zero termination in string/test-s*.c (was Re: segfault in test-strcmp)
- From: Roland McGrath <roland at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 8 Nov 2002 14:11:58 -0800
- Subject: Re: [PATCH] Ensure zero termination in string/test-s*.c (was Re: segfault in test-strcmp)
Thanks! I have put these changes in. The tests now pass on powerpc.
Btw, I had previously changed test-string.h to fill the BUF1 and BUF2 pages
with nonzero bytes so as to detect any fail-to-terminate kinds of bugs,
which seemed like a good idea when this first came up. Doing that now
breaks several tests though they seem to be correct now, so I didn't put it in.