]> granicus.if.org Git - php/commit
Fixed Bug #66412 readline_clear_history() with libedit causes segfault after #65714
authorRemi Collet <remi@php.net>
Mon, 20 Jan 2014 07:38:53 +0000 (08:38 +0100)
committerRemi Collet <remi@php.net>
Mon, 20 Jan 2014 07:38:53 +0000 (08:38 +0100)
commit31d67bd35362c1ab570caccedfec3e24257b55c5
tree1539db085dbd39daa28fef983ec2be73fe1e1cb5
parent4e55c6bffb9407b3013c90fcf3a840bfc5115ca2
Fixed Bug #66412 readline_clear_history() with libedit causes segfault after #65714

Checking all libedit functions, this check is done in each functions (add_history,
read_history, write_history, ...) but is missing in clear_history.

Test coverage: readline_clear_history_001.phpt
NEWS
ext/readline/readline.c