Home GnuPG
Diffusion GnuPG 6b84ecbf312d

Replace use of variable-length-arrays.
6b84ecbf312dUnpublished

Unpublished Commit · Learn More

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

Description

Replace use of variable-length-arrays.

* common/t-iobuf.c (main): Replace variable-length-array.
* g10/gpgcompose.c (mksubpkt_callback): Ditto.
(encrypted): Ditto.
* g10/t-stutter.c (log_hexdump): Ditto.
(oracle_test): Ditto.
* g10/tofu.c (get_policy): Ditto.  Use "%zu" for size_t.
* scd/app-openpgp.c (ecc_writekey): Replace variable-length-array.
Check for zero length OID_LEN.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 2 2017, 1:29 PM
Parents
rGc52930d11fcc: build: Enable gcc warnings to detect non-portable code.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG6b84ecbf312d: Replace use of variable-length-arrays. (authored by Werner Koch <wk@gnupg.org>).Jan 2 2017, 1:29 PM