diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-06-21 17:33:47 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-06-21 17:33:47 +0100 |
commit | 21b939e1e64295e216e2e78d5ff2c6d7a374fa00 (patch) | |
tree | 4625adb29f7052aadd2aca10f14b9ba5e410c8c3 /contrib | |
parent | readline_buffer: add a couple const (diff) | |
download | monero-21b939e1e64295e216e2e78d5ff2c6d7a374fa00.tar.xz |
readline: fix invalid memory access
m_cout_buf was not initialized
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/epee/src/readline_buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/src/readline_buffer.cpp b/contrib/epee/src/readline_buffer.cpp index 9195937af..6305d3e16 100644 --- a/contrib/epee/src/readline_buffer.cpp +++ b/contrib/epee/src/readline_buffer.cpp @@ -39,7 +39,7 @@ rdln::suspend_readline::~suspend_readline() } rdln::readline_buffer::readline_buffer() -: std::stringbuf() +: std::stringbuf(), m_cout_buf(NULL) { current = this; } |