gpgscm: Fix buffer overflow.
authorJustus Winter <justus@g10code.com>
Tue, 28 Jun 2016 16:08:01 +0000 (18:08 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 28 Jun 2016 16:21:50 +0000 (18:21 +0200)
commit56cebdc30c10eaec179a6911e308074264d876ae
tree0149b99d3e54267bb81fb702471d03ca2278f859
parentc57501cc5fa84dbaf560c0fc18853c9540e918af
gpgscm: Fix buffer overflow.

* tests/gpgscm/scheme.c (store_string): Avoid writing past allocated
buffer.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgscm/scheme.c