diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-05-25 19:18:31 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-05-25 19:18:31 +0000 |
commit | 6192d98362d99bd5d9f8d2749341f46c76178fcb (patch) | |
tree | 9fa73f94a1d062d483c2a69ab5f28234c5c7d9c8 | |
parent | 236f55524ea7803271861f8b50323d1bc3caf65c (diff) | |
download | ATCD-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.cpp | 2 |
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; |