Branch: refs/heads/master
Home: https://github.com/OpenSC/OpenSC
Commit: 0dc3dcbc0095463d0adb1399b9197ad0f0c36eb8
https://github.com/OpenSC/OpenSC/commit/0dc3dcbc0095463d0adb1399b9197ad0f0c36eb8
Author: Zhang Xiaohui <ruc...@16...>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
M src/tools/sceac-example.c
Log Message:
-----------
There may be a memory leak in main in /src/tools/sceac-example.c
When failed to access reader, cxt needs to be released before
exiting the program. Like in the patch of CVE-2019-6502, a
sc_release_context(ctx) is needed before line 71, or a
memory leak may occur.
|