This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug string/19667] Missing Sanity Check for malloc calls in file 'testcopy.c'
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 06 Feb 2018 21:44:12 +0000
- Subject: [Bug string/19667] Missing Sanity Check for malloc calls in file 'testcopy.c'
- Auto-submitted: auto-generated
- References: <bug-19667-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19667
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via d92c2759976600decd8353730a5b5ce30c2758d8 (commit)
from 625fb764b4d9138fe9c2cbffa1b755e8f43f6e06 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d92c2759976600decd8353730a5b5ce30c2758d8
commit d92c2759976600decd8353730a5b5ce30c2758d8
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Feb 6 21:43:20 2018 +0000
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.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
string/testcopy.c | 16 +++++++++-------
2 files changed, 15 insertions(+), 7 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.