Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
opensc.35665
opensc-0_13_0-CVE-2020-26572.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opensc-0_13_0-CVE-2020-26572.patch of Package opensc.35665
Index: opensc-0.13.0/src/libopensc/card-tcos.c =================================================================== --- opensc-0.13.0.orig/src/libopensc/card-tcos.c +++ opensc-0.13.0/src/libopensc/card-tcos.c @@ -662,6 +662,8 @@ static int tcos_decipher(sc_card_t *card apdu.data = sbuf; apdu.lc = apdu.datalen = crgram_len+1; sbuf[0] = tcos3 ? 0x00 : ((data->pad_flags & SC_ALGORITHM_RSA_PAD_PKCS1) ? 0x81 : 0x02); + if (sizeof sbuf - 1 < crgram_len) + return SC_ERROR_INVALID_ARGUMENTS; memcpy(sbuf+1, crgram, crgram_len); r = sc_transmit_apdu(card, &apdu);
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