Home GnuPG
Diffusion GnuPG 5c2db9dedfe9

scd: Fix receive buffer size.
5c2db9dedfe9Unpublished

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.

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
rGa3b258d1d159: gpgscm: Refactor.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG5c2db9dedfe9: scd: Fix receive buffer size. (authored by NIIBE Yutaka <gniibe@fsij.org>).Nov 22 2016, 12:53 PM