summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-02-06 21:43:20 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-02-06 21:43:20 +0000
commitd92c2759976600decd8353730a5b5ce30c2758d8 (patch)
tree4f9db511947e9cf1e2c709bf070cfd6ee09acea5 /ChangeLog
parent625fb764b4d9138fe9c2cbffa1b755e8f43f6e06 (diff)
downloadglibc-d92c2759976600decd8353730a5b5ce30c2758d8.tar.gz
Move string/testcopy.c to test-driver.c and xmalloc (bug 19667).
Bug 19667 reports unchecked malloc calls in the test string/testcopy.c. This patch makes that test use xmalloc and the support/test-driver.c test framework. Tested for x86_64. [BZ #19667] * string/testcopy.c: Include <support/support.h>. Do not include <malloc.h>. Use <support/test-driver.c>. (main): Rename to do_test. Make static. Use xmalloc instead of malloc.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 15e5f2ae7f..e19e415c44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2018-02-06 Joseph Myers <joseph@codesourcery.com>
+ [BZ #19667]
+ * string/testcopy.c: Include <support/support.h>. Do not include
+ <malloc.h>. Use <support/test-driver.c>.
+ (main): Rename to do_test. Make static. Use xmalloc instead of
+ malloc.
+
[BZ #13575]
* posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
[!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]