string/test-memcpy error reporting
authorAlan Modra <amodra@gmail.com>
Sat, 17 Aug 2013 09:07:58 +0000 (18:37 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 4 Oct 2013 01:12:02 +0000 (10:42 +0930)
commite0f7a3804683f1ab3c41dfc82894bfb18d731341
tree2ccee2995bdadfe43a98926350005813862efe32
parent466b03933234017473c12dd1d92bda5e7fe49df7
string/test-memcpy error reporting
http://sourceware.org/ml/libc-alpha/2013-08/msg00094.html

Using plain %s here runs the risk of segfaulting when displaying the
string.  src and dst aren't zero terminated strings.

* string/test-memcpy.c (do_one_test): When reporting errors, print
string address and don't overrun end of string.
ChangeLog
string/test-memcpy.c