Home GnuPG
Diffusion GnuPG c271feb53664

g10/parse-packet.c:mpi_read: Detect EOF and correct boundary conditions.
c271feb53664Unpublished

Unpublished Commit ยท Learn More

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

Description

g10/parse-packet.c:mpi_read: Detect EOF and correct boundary conditions.

* g10/parse-packet.c (mpi_read): Improve documentation.  Correctly
handle an EOF.  On overflow, correctly return the number of bytes read
from the pipeline.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>.

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Aug 18 2015, 10:33 AM
Parents
rG49f922286fa8: common/iobuf.c: Make control flow more obvious.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rGc271feb53664: g10/parse-packet.c:mpi_read: Detect EOF and correct boundary conditions. (authored by Neal H. Walfield <neal@g10code.com>).Aug 20 2015, 2:16 PM