1
0
Fork 0
mirror of https://git.wownero.com/wownero/wownero.git synced 2024-08-15 01:03:23 +00:00

readline: fix invalid memory access

m_cout_buf was not initialized
This commit is contained in:
moneromooo-monero 2017-06-21 17:33:47 +01:00
parent 5f8f290505
commit 21b939e1e6
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -39,7 +39,7 @@ rdln::suspend_readline::~suspend_readline()
}
rdln::readline_buffer::readline_buffer()
: std::stringbuf()
: std::stringbuf(), m_cout_buf(NULL)
{
current = this;
}