agent: Protect commit 135b1e3 against misbehaving Libgcrypt.
authorWerner Koch <wk@gnupg.org>
Tue, 1 Sep 2015 05:39:28 +0000 (07:39 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 1 Sep 2015 05:39:28 +0000 (07:39 +0200)
commit9ba4ccdaf5e128fbea51ff142c63d4b359c7264d
tree027d3813f57e241a779b9235b0eab4229f967e96
parentf9c83d84e7d33df76898975f5ac852efa9c4882a
agent: Protect commit 135b1e3 against misbehaving Libgcrypt.

* agent/command-ssh.c (ssh_key_to_blob): Check DATALEN.

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/command-ssh.c