From f29edeb8871165afd0bb514162037b304a919f17 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 17 Jan 2017 21:22:44 +0100 Subject: [PATCH] Fixed possible bad memory access. --- src/vmime/net/imap/IMAPParser.hpp | 4 ++-- 1 file 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; };