Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:sp5-rebuild
opensc.11155
opensc-0_18_0-CVE-2019-20792.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opensc-0_18_0-CVE-2019-20792.patch of Package opensc.11155
Index: opensc-0.18.0/src/libopensc/card-coolkey.c =================================================================== --- opensc-0.18.0.orig/src/libopensc/card-coolkey.c +++ opensc-0.18.0/src/libopensc/card-coolkey.c @@ -1978,6 +1978,11 @@ coolkey_add_object(coolkey_private_data_ new_object.id = object_id; new_object.length = object_length; + /* The object ID needs to be unique */ + if (coolkey_find_object_by_id(&priv->objects_list, object_id) != NULL) { + return SC_ERROR_INTERNAL; + } + if (object_data) { new_object.data = malloc(object_length + add_v1_record); if (new_object.data == NULL) {
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