opensc:multi-apps

Last commit made on 2024-01-25
Get this branch:
git clone -b multi-apps https://git.launchpad.net/opensc

Branch merges

Branch information

Name:
multi-apps
Repository:
lp:opensc

Recent commits

dc784fb... by Frank Morgner <email address hidden>

OpenSCToken: test multi-apps branch

2315bfa... by Jakub Jelen <email address hidden>

doc: Correctly forward IO to xsltproc to correctly replace paths in manual pages

8740b31... by =?utf-8?b?VmVyb25pa2EgSGFudWzDrWtvdsOh?= <email address hidden>

pkcs15-cflex: Free file in case of error

Thanks OSS-Fuzz
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65882

4855c5f... by =?utf-8?b?VmVyb25pa2EgSGFudWzDrWtvdsOh?= <email address hidden>

card-iasecc: Free file in case of error

Thanks OSS-Fuzz
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65834

79d2f6e... by Jakub Jelen <email address hidden>

Add clang-format hints to avoid reformating struct tables

733d897... by Jakuje

Add github actions for clang format

59c2da6... by Jakub Jelen <email address hidden>

Add known revisions to ignore for git blame

Usage:

git config blame.ignoreRevsFile .ignoreRevsFile

63eae6b... by Jakub Jelen <email address hidden>

Update editorconfig to match clang format

06e9bba... by Martin Paljak <email address hidden>

meta: add clang-format formatting configuration

This allows for voluntary formatting with clang-format (or
IDE tools like clang-format plugin for VS Code).

Once a suitable formatting configuration is found, automatic formatting
can be configured

Tweaked by Jakub Jelen

ac10c06... by Douglas E Engert

pkcs11-spy.c check return code

The po->C_GetInterface is passed the callers ppInterface where
*ppInterface may not be valid.

if the po->C_GetInterface may not update the *ppInterface and return
an error. In this case spy_interface_function_list should not be called,
as it assumes the *ppInterface has been modified.

Found debugging FireFox version 121 where FireFox passes a ppInterface
where *ppInterface is not a valid pointer, causing a segfault in
spy_interface_function_list.

FireFox calls C_GetInterface twice with flags = CKF_INTERFACE_FORK_SAFE
twice then on third time requests with flag = 0 where po->GetInterface
can support and it updates the *ppInterface with valid data.

See #2987

 On branch pkcs11-spy-segfault
 Changes to be committed:
 modified: pkcs11-spy.c