diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-11 12:44:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-11 12:44:23 +0300 |
commit | 05da7a15de40291b2135d8e089e24ec20babb065 (patch) | |
tree | 4be6dad7f3cb2a5ab7a31f9a5123893ed72cf20d /plugins/CloudFile/src/cloud_file.h | |
parent | bb583302ec9f478eebd3b57d06a476a5d82730c6 (diff) |
CloudFile: war agains static buffers & buffer overruns
Diffstat (limited to 'plugins/CloudFile/src/cloud_file.h')
-rw-r--r-- | plugins/CloudFile/src/cloud_file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CloudFile/src/cloud_file.h b/plugins/CloudFile/src/cloud_file.h index ebf6a6c6fe..5aac068aa6 100644 --- a/plugins/CloudFile/src/cloud_file.h +++ b/plugins/CloudFile/src/cloud_file.h @@ -15,7 +15,7 @@ protected: HNETLIBUSER m_hConnection; // utils - char* PreparePath(const char *oldPath, char *newPath); + const char* PreparePath(const char *oldPath, CMStringA &newPath); virtual char* HttpStatusToError(int status = 0); virtual void HttpResponseToError(NETLIBHTTPREQUEST *response); |