]> git.lizzy.rs Git - linenoise.git/commit
Bug fix. Reset size information when clearing the history.
authorAndreas Kupries <akupries@shaw.ca>
Fri, 25 Jan 2013 00:31:39 +0000 (16:31 -0800)
committerSteve Bennett <steveb@workware.net.au>
Fri, 15 Feb 2013 02:39:04 +0000 (12:39 +1000)
commit71c71e7690f8ff683bb436a468810ef34b4f31b5
tree42225b632848e47574749a3faefe42674ae52cef
parent1b94638f11034783630f6c1887c36370af9a64ea
Bug fix. Reset size information when clearing the history.

Otherwise the next historyAdd will access freed memory, and crash.
linenoise.c