Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
opensc.33796
opensc-fix-segfault-when-no-card.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opensc-fix-segfault-when-no-card.patch of Package opensc.33796
diff --git a/src/tools/cryptoflex-tool.c b/src/tools/cryptoflex-tool.c index 23ebca2..7d3c9c3 100644 --- a/src/tools/cryptoflex-tool.c +++ b/src/tools/cryptoflex-tool.c @@ -1052,6 +1052,8 @@ int main(int argc, char * const argv[]) } err = util_connect_card(ctx, &card, opt_reader, opt_wait, verbose); + if (card == NULL) + goto end; printf("Using card driver: %s\n", card->driver->name); if (do_create_pin_file) {
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