Home GnuPG
Diffusion GnuPG 5003caa8fdc8

gpgscm: Fix reallocating string ports.
5003caa8fdc8Unpublished

Unpublished Commit ยท Learn More

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

Description

gpgscm: Fix reallocating string ports.

* tests/gpgscm/scheme.c (realloc_port_string): Use memcpy because
Scheme strings may contain 0s.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Jun 30 2016, 12:45 PM
Parents
rG599ad21104e6: gpgscm: Free memory backing string ports.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG5003caa8fdc8: gpgscm: Fix reallocating string ports. (authored by Justus Winter <justus@g10code.com>).Jun 30 2016, 3:31 PM