mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
readline: fix invalid memory access
m_cout_buf was not initialized
This commit is contained in:
parent
5f8f290505
commit
21b939e1e6
@ -39,7 +39,7 @@ rdln::suspend_readline::~suspend_readline()
|
||||
}
|
||||
|
||||
rdln::readline_buffer::readline_buffer()
|
||||
: std::stringbuf()
|
||||
: std::stringbuf(), m_cout_buf(NULL)
|
||||
{
|
||||
current = this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user