Home GnuPG
Diffusion GnuPG eb957ffc4797

common: Avoid undefined behavior.
eb957ffc4797Unpublished

Unpublished Commit · Learn More

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

Description

common: Avoid undefined behavior.

* common/iobuf.c (iobuf_esopen): Initialize 'len' as 'file_es_filter'
will make use of it.

Found using the Clang Static Analyzer.

  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Nov 19 2015, 4:13 PM
Parents
rG52f7f195b119: g10: Avoid undefined behavior.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rGeb957ffc4797: common: Avoid undefined behavior. (authored by Justus Winter <justus@g10code.com>).Nov 19 2015, 4:13 PM
werner mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:08 PM
werner mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:31 PM