Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
opensc.33736
opensc-0_19_0-CVE-2019-20792.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opensc-0_19_0-CVE-2019-20792.patch of Package opensc.33736
Index: opensc-0.19.0/src/libopensc/card-coolkey.c =================================================================== --- opensc-0.19.0.orig/src/libopensc/card-coolkey.c +++ opensc-0.19.0/src/libopensc/card-coolkey.c @@ -1956,6 +1956,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