mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-12 13:10:45 +02:00
asan fuzzing fixes; fix incomplete multibyte chars in history expansion; new nosort GLOBSORT value
This commit is contained in:
@@ -307,6 +307,10 @@ void
|
||||
_rl_start_using_history (void)
|
||||
{
|
||||
using_history ();
|
||||
#if 1
|
||||
if (_rl_saved_line_for_history && _rl_saved_line_for_history->data)
|
||||
_rl_free_undo_list ((UNDO_LIST *)_rl_saved_line_for_history->data);
|
||||
#endif
|
||||
_rl_free_saved_history_line ();
|
||||
_rl_history_search_pos = -99; /* some random invalid history position */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user