From c3bcdd8bbf375dca25e92cc67185d8593686a18d Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Mon, 21 May 2001 23:00:59 +0000 Subject: [PATCH] ICU-932 bug2() was wrong. Don't use strlen on a non-NULL terminated string. X-SVN-Rev: 4737 --- icu4c/source/test/cintltst/ccapitst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/test/cintltst/ccapitst.c b/icu4c/source/test/cintltst/ccapitst.c index f283741bb6..4f06b57405 100644 --- a/icu4c/source/test/cintltst/ccapitst.c +++ b/icu4c/source/test/cintltst/ccapitst.c @@ -1326,7 +1326,7 @@ void bug2() target, sizeof(target), source, - strlen(source), + sizeof(source), &err); if ( size != 10 ) {