Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
ncurses.13618
ncurses-5.9-bsc1131830.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ncurses-5.9-bsc1131830.patch of Package ncurses.13618
--- ncurses/tinfo/comp_parse.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) --- ncurses/tinfo/comp_parse.c +++ ncurses/tinfo/comp_parse.c 2019-04-11 00:37:39.564903289 +0000 @@ -418,13 +418,18 @@ _nc_resolve_uses2(bool fullresolve, bool * Now merge in each use entry in the proper * (reverse) order. */ - for (; qp->nuses; qp->nuses--) + for (; qp->nuses; qp->nuses--) { + if (!qp->uses[qp->nuses - 1].link) + return FALSE; _nc_merge_entry(&merged, &qp->uses[qp->nuses - 1].link->tterm); + } /* * Now merge in the original entry. */ + if (!qp) + return FALSE; _nc_merge_entry(&merged, &qp->tterm); /*
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