From: Frank M. <no...@gi...> - 2020-07-22 20:56:40
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: afffeccc298716d726e06e5c9f6cb6993d72a9cf https://github.com/OpenSC/OpenSC/commit/afffeccc298716d726e06e5c9f6cb6993d72a9cf Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/reader-pcsc.c Log Message: ----------- Fixed problems with PIN min/max length handling: - The wrong PIN was selected from the sc_pin_cmd_data structure. - When the PIN max value was zero from the caller (meaning unknown max), the reader max value was not used. Commit: 80853bda3106e515bfeaae34253be40a0ebcd279 https://github.com/OpenSC/OpenSC/commit/80853bda3106e515bfeaae34253be40a0ebcd279 Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/reader-pcsc.c Log Message: ----------- Only enable static frame size for PIN padding when padding length is below maximum limits. Otherwise resort to adaptive support. Commit: eb3e00a385ac3b5e74235111c4e263456d836cbf https://github.com/OpenSC/OpenSC/commit/eb3e00a385ac3b5e74235111c4e263456d836cbf Author: Zoltan Kelemen <zol...@sa...> Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M src/libopensc/reader-pcsc.c Log Message: ----------- Corrected highly misleading, confusing and ambiguous use of PIN length_offset field. Now only the PIN offset fields are used. Also added error checking for invalid values. Compare: https://github.com/OpenSC/OpenSC/compare/1dc359cb619c...eb3e00a385ac |