summaryrefslogtreecommitdiff
path: root/ace/Log_Msg.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-08-25 16:05:53 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-08-25 16:05:53 +0000
commit552f9931d9d7b7b3037fecb0e192b0f283c10380 (patch)
treed6be7a81b03d76bdb30fbfe460f2a500eb78b968 /ace/Log_Msg.cpp
parent4b58a90c24c9df4f17d7eaaa96ddcaaacaf7f5d4 (diff)
downloadATCD-552f9931d9d7b7b3037fecb0e192b0f283c10380.tar.gz
ChangeLogTag:Sat Aug 25 10:16:21 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace/Log_Msg.cpp')
-rw-r--r--ace/Log_Msg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp
index b7ac5ecaade..0237968b769 100644
--- a/ace/Log_Msg.cpp
+++ b/ace/Log_Msg.cpp
@@ -1440,7 +1440,7 @@ ACE_Log_Msg::log (const ACE_TCHAR *format_str,
*bp = '\0'; // Terminate bp, but don't auto-increment this!
// Check that memory was not corrupted.
- if (bp >= this->msg_ + ACE_Log_Record::MAXLOGMSGLEN)
+ if (bp >= this->msg_ + sizeof this->msg_)
{
abort_prog = 1;
ACE_OS::fprintf (stderr,