summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-05-25 19:18:31 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-05-25 19:18:31 +0000
commit6192d98362d99bd5d9f8d2749341f46c76178fcb (patch)
tree9fa73f94a1d062d483c2a69ab5f28234c5c7d9c8
parent236f55524ea7803271861f8b50323d1bc3caf65c (diff)
downloadATCD-6192d98362d99bd5d9f8d2749341f46c76178fcb.tar.gz
Corrected string length where the allocated array was twice as large as it
should have been (MAXPATHLEN + MAXPATHLEN).
-rw-r--r--TAO/tao/UIOP_Profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/UIOP_Profile.cpp b/TAO/tao/UIOP_Profile.cpp
index 952d408152f..abff059a75f 100644
--- a/TAO/tao/UIOP_Profile.cpp
+++ b/TAO/tao/UIOP_Profile.cpp
@@ -516,7 +516,7 @@ TAO_UIOP_Profile::hash (CORBA::ULong max,
char *
TAO_UIOP_Profile::addr_to_string(void)
{
- static char s[MAXPATHLEN + MAXPATHLEN];
+ static char s[MAXPATHLEN];
ACE_OS::sprintf (s, "%s",
this->rendezvous_point_);
return s;