From: ihsinme <no...@gi...> - 2021-05-03 09:48:20
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 50eaa6bf5711bf59bc30dbdf70769c6297560bde https://github.com/OpenSC/OpenSC/commit/50eaa6bf5711bf59bc30dbdf70769c6297560bde Author: ihsinme <ih...@gm...> Date: 2021-05-03 (Mon, 03 May 2021) Changed paths: M src/tools/pkcs11-tool.c Log Message: ----------- fix possible access outside the array. if 5000 bytes are read, then at the end of the array we will write zero beyond its boundaries, damaging the stack. Here's a simple solution. if you see the need to increase the array itself, let me know. |