Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
bash.3424
bash-4.2-boo976776.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bash-4.2-boo976776.dif of Package bash.3424
Avoid crash on empty ~/.bash_history in case su is used (boo#976776) --- lib/readline/history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- lib/readline/history.c +++ lib/readline/history.c 2016-04-26 09:29:22.197488997 +0000 @@ -318,7 +318,7 @@ add_history_time (string) { HIST_ENTRY *hs; - if (string == 0) + if (string == 0 || history_length < 0) return; hs = the_history[history_length - 1]; FREE (hs->timestamp);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor