From: Frank M. <no...@gi...> - 2021-03-24 22:27:34
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: ce0d4092052ad049380d0ed30cf5cc798ad69860 https://github.com/OpenSC/OpenSC/commit/ce0d4092052ad049380d0ed30cf5cc798ad69860 Author: Frank Morgner <fra...@gm...> Date: 2021-03-24 (Wed, 24 Mar 2021) Changed paths: M src/tools/opensc-explorer.c Log Message: ----------- Avoid accessing Uninitialized scalar variable regression of c581d1b26 coverity scan CID 367545 Commit: 83162c5c87e88a5f911ca5349320938a52dbc1df https://github.com/OpenSC/OpenSC/commit/83162c5c87e88a5f911ca5349320938a52dbc1df Author: Frank Morgner <fra...@gm...> Date: 2021-03-24 (Wed, 24 Mar 2021) Changed paths: M src/libopensc/card-iasecc.c Log Message: ----------- fixed memory leak fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32324 sc_enum_apps() causes card->cache.current_ef to be allocated for IAS/ECC, but not freed if any other error occurs during initialization. since sc_enum_apps() is called anyway during PKCS#15 initialization. Having this at the card driver level (instead of the PKCS#15 level) is not needed. Compare: https://github.com/OpenSC/OpenSC/compare/7114fb71b54d...83162c5c87e8 |