Home GnuPG
Diffusion GnuPG bb5a153f9dd9

scd: Fix receive buffer size.
bb5a153f9dd9Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

scd: Fix receive buffer size.

* scd/apdu.c (send_le): Fix the size, adding two for status
bytes to Le.

Backport of master commit: 5c2db9dedfe9dbb14ffec24751ca23a69cead94e

This is long standing bug. So far, Le was not exact value.
Since forthcoming change will introduce exact value of expected length
of response data, this change is needed.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Nov 22 2016, 12:53 PM
Parents
rG3089c76a4a6a: scd: Don't limit to ST-2xxx for PC/SC.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rGbb5a153f9dd9: scd: Fix receive buffer size. (authored by NIIBE Yutaka <gniibe@fsij.org>).Nov 30 2016, 1:33 AM