From: GitHub <no...@gi...> - 2014-10-01 13:39:49
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 955a3391481f6b116ee38f4d6762c6fd3967551c https://github.com/OpenSC/OpenSC/commit/955a3391481f6b116ee38f4d6762c6fd3967551c Author: Philip Wendland <wen...@gm...> Date: 2014-10-01 (Wed, 01 Oct 2014) Changed paths: M src/libopensc/pkcs15-pubkey.c M src/pkcs15init/pkcs15-lib.c Log Message: ----------- Merge PR#288 from philipWendland:upstream-ecc-fix add the possibility to store public ECC keys encoded according to SPKI EC pubkey storing: Check if params are available before copying. pkcs15-lib.c / sc_pkcs15init_store_public_key may be called with keyargs->key.u.ec.params.value == NULL. In this case, allocating and copying the parameters will fail. Add a check to prevent this. |