From: GitHub <no...@gi...> - 2019-01-03 23:45:37
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 6f0f42c5068f951a21274a26f8abc0b9326ea245 https://github.com/OpenSC/OpenSC/commit/6f0f42c5068f951a21274a26f8abc0b9326ea245 Author: Frank Morgner <fra...@gm...> Date: 2019-01-04 (Fri, 04 Jan 2019) Changed paths: M src/sm/sm-iso.c Log Message: ----------- fixed use of uninitialized data When card->sm_ctx.ops.free_sm_apdu gets called in sc_sm_single_transmit with a prior transmission error, then `sm_encrypt` still tries to decrypt the response and hence, accesses the previously uninitialized `resp`. Commit: aa940e8619d01e491b92171c427520d30a89b46d https://github.com/OpenSC/OpenSC/commit/aa940e8619d01e491b92171c427520d30a89b46d Author: Frank Morgner <fra...@gm...> Date: 2019-01-04 (Fri, 04 Jan 2019) Changed paths: M src/sm/sm-iso.c Log Message: ----------- iso-sm: avoid allocation of big chunk of data Use unencrypted APDU's resplen to estimate the size of the required SM response buffer Commit: 5c50dc58dabd08e912dd0bf3eba2d54d2cb8e758 https://github.com/OpenSC/OpenSC/commit/5c50dc58dabd08e912dd0bf3eba2d54d2cb8e758 Author: Frank Morgner <fra...@gm...> Date: 2019-01-04 (Fri, 04 Jan 2019) Changed paths: M src/pkcs11/framework-pkcs15.c Log Message: ----------- fixed 320270 Dereference after null check Compare: https://github.com/OpenSC/OpenSC/compare/a6ee84f13d24...5c50dc58dabd **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. |