Home GnuPG

Adjust memory limit of es_fopenmem to the block size.
baf4bcc0973cUnpublished

Unpublished Commit · Learn More

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

Description

Adjust memory limit of es_fopenmem to the block size.

* src/estream.c (func_mem_create): Round up memory limit.

This is required so that giving a memory limit to es_fopenmem won't
fail if it is below the block size.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 28 2016, 11:27 AM
Parents
rE1ee822f9ff73: Add GPG_ERR_SUBKEYS_EXP_OR_REV.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rEbaf4bcc0973c: Adjust memory limit of es_fopenmem to the block size. (authored by Werner Koch <wk@gnupg.org>).Jun 15 2016, 11:24 AM