aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2017-01-17 20:22:44 +0000
committerVincent Richard <[email protected]>2017-01-17 20:22:44 +0000
commitf29edeb8871165afd0bb514162037b304a919f17 (patch)
tree29f32e507a6fedee5ed672457b5c4dfdd6ac06c7
parentEmulate extraction of header+body for a specific part (IMAP). (diff)
downloadvmime-f29edeb8871165afd0bb514162037b304a919f17.tar.gz
vmime-f29edeb8871165afd0bb514162037b304a919f17.zip
Fixed possible bad memory access.
-rw-r--r--src/vmime/net/imap/IMAPParser.hpp4
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;
};