diff options
| author | Anton Arapov <aarapov@redhat.com> | 2009-07-31 15:31:03 +0200 |
|---|---|---|
| committer | Anton Arapov <aarapov@redhat.com> | 2009-07-31 15:31:03 +0200 |
| commit | 996d63d23a6223d91d85d6aac7bc5aba470bec8b (patch) | |
| tree | b2dd228206f028fa4d5e6f3dd0fa872f7d9cdca0 /lib/Utils/logging.cpp | |
| parent | 8dc84c58d3e095e2738a6f8e7c48aea8e90ed235 (diff) | |
| parent | 39581495b85d8c20eb992962250af3044244dab3 (diff) | |
| download | abrt-996d63d23a6223d91d85d6aac7bc5aba470bec8b.tar.gz abrt-996d63d23a6223d91d85d6aac7bc5aba470bec8b.tar.xz abrt-996d63d23a6223d91d85d6aac7bc5aba470bec8b.zip | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Utils/logging.cpp')
| -rw-r--r-- | lib/Utils/logging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Utils/logging.cpp b/lib/Utils/logging.cpp index 15104b8..58d14ee 100644 --- a/lib/Utils/logging.cpp +++ b/lib/Utils/logging.cpp @@ -46,7 +46,7 @@ void verror_msg(const char *s, va_list p, const char* strerr) if (prefix_len) { memmove(msg + prefix_len, msg, used); used += prefix_len; - strcpy(msg, msg_prefix); + memcpy(msg, msg_prefix, prefix_len); } if (strerr) { if (s[0]) { /* not perror_nomsg? */ |
