diff options
author | bala <balanatarajan@users.noreply.github.com> | 2001-08-21 12:03:58 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2001-08-21 12:03:58 +0000 |
commit | d01d2110ee69ffc3eef6f9ee0a47373788d2d6d0 (patch) | |
tree | eb9e38db333107339172643ff10041b39b21de6c | |
parent | ff079741cddc3c38d22a3c02eee5fc9de9ab445e (diff) | |
download | ATCD-d01d2110ee69ffc3eef6f9ee0a47373788d2d6d0.tar.gz |
ChangeLogTag: Tue Aug 21 06:58:49 2001 Balachandran Natarajan <bala@cs.wustl.edu>
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 5 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 5 | ||||
-rw-r--r-- | ace/Log_Msg.cpp | 2 |
4 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 2d4df727f07..1ff6f6107f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Aug 21 06:58:49 2001 Balachandran Natarajan <bala@cs.wustl.edu> + + * ace/Log_Msg.cpp: Fixed problematic uses of strncpy. Thanks to + Alain Decamps <Alain.Decamps@advalvas.be> for giving this patch. + Tue Aug 21 10:40:12 2001 Johnny Willemsen <jwillemsen@remedy.nl> * ace/Map.i: Made the return value of ACE_Incremental_Key_Generator diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 2d4df727f07..1ff6f6107f2 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,8 @@ +Tue Aug 21 06:58:49 2001 Balachandran Natarajan <bala@cs.wustl.edu> + + * ace/Log_Msg.cpp: Fixed problematic uses of strncpy. Thanks to + Alain Decamps <Alain.Decamps@advalvas.be> for giving this patch. + Tue Aug 21 10:40:12 2001 Johnny Willemsen <jwillemsen@remedy.nl> * ace/Map.i: Made the return value of ACE_Incremental_Key_Generator diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 2d4df727f07..1ff6f6107f2 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,8 @@ +Tue Aug 21 06:58:49 2001 Balachandran Natarajan <bala@cs.wustl.edu> + + * ace/Log_Msg.cpp: Fixed problematic uses of strncpy. Thanks to + Alain Decamps <Alain.Decamps@advalvas.be> for giving this patch. + Tue Aug 21 10:40:12 2001 Johnny Willemsen <jwillemsen@remedy.nl> * ace/Map.i: Made the return value of ACE_Incremental_Key_Generator diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp index 009d30c479b..c49b9de142a 100644 --- a/ace/Log_Msg.cpp +++ b/ace/Log_Msg.cpp @@ -1889,6 +1889,7 @@ ACE_Log_Msg::file (void) void ACE_Log_Msg::file (const char *s) { + this->file_[0] = '\0'; ACE_OS::strncpy (this->file_, s, sizeof this->file_); } @@ -1901,6 +1902,7 @@ ACE_Log_Msg::msg (void) void ACE_Log_Msg::msg (const ACE_TCHAR *m) { + this->msg_[0] = '\0'; ACE_OS::strncpy (this->msg_, m, (sizeof this->msg_ / sizeof (ACE_TCHAR))); } |