mirror of
https://github.com/monero-project/monero.git
synced 2026-01-10 04:05:24 -08:00
readline: fix invalid memory access
m_cout_buf was not initialized
This commit is contained in:
@@ -39,7 +39,7 @@ rdln::suspend_readline::~suspend_readline()
|
||||
}
|
||||
|
||||
rdln::readline_buffer::readline_buffer()
|
||||
: std::stringbuf()
|
||||
: std::stringbuf(), m_cout_buf(NULL)
|
||||
{
|
||||
current = this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user