diff options
| author | Vincent Richard <[email protected]> | 2017-01-17 21:22:44 +0100 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2017-01-17 21:22:44 +0100 |
| commit | f29edeb8871165afd0bb514162037b304a919f17 (patch) | |
| tree | 29f32e507a6fedee5ed672457b5c4dfdd6ac06c7 /src | |
| parent | Emulate extraction of header+body for a specific part (IMAP). (diff) | |
| download | vmime-f29edeb8871165afd0bb514162037b304a919f17.tar.gz vmime-f29edeb8871165afd0bb514162037b304a919f17.zip | |
Fixed possible bad memory access.
Diffstat (limited to 'src')
| -rw-r--r-- | src/vmime/net/imap/IMAPParser.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vmime/net/imap/IMAPParser.hpp b/src/vmime/net/imap/IMAPParser.hpp index 9d74b608..448d6d6a 100644 --- a/src/vmime/net/imap/IMAPParser.hpp +++ b/src/vmime/net/imap/IMAPParser.hpp @@ -240,8 +240,8 @@ namespace imap { private: - const string& m_name; - string& m_line; + const string m_name; + string m_line; size_t m_pos; const bool& m_result; }; |
