Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
pdisk
pdisk-strlen-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pdisk-strlen-check.patch of Package pdisk
possible crash, strlen doesnt take NULL ================================================================================ --- pdisk/layout_dump.c +++ pdisk/layout_dump.c @@ -75,6 +75,10 @@ max_name = 0; for (entry = desc; entry->format != kEnd; entry++) { + if (NULL == entry->name) { + fprintf(stderr, "pdisk debug: %s(%u) entry->name NULL\n", __FUNCTION__, __LINE__); + continue; + } value = strlen(entry->name); if (value > max_name) { max_name = value;
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