diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-08-25 16:05:53 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-08-25 16:05:53 +0000 |
commit | 552f9931d9d7b7b3037fecb0e192b0f283c10380 (patch) | |
tree | d6be7a81b03d76bdb30fbfe460f2a500eb78b968 /ace/Log_Msg.cpp | |
parent | 4b58a90c24c9df4f17d7eaaa96ddcaaacaf7f5d4 (diff) | |
download | ATCD-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.cpp | 2 |
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, |