Home GnuPG

Read up remaining lines in assuan_inquire after reaching MAXLEN
5a52404c704dUnpublished

Unpublished Commit · Learn More

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

Description

Read up remaining lines in assuan_inquire after reaching MAXLEN

* src/assuan-inquire.c (assuan_inquire): Clear return args on error.
Read up remaining lines after MAXLEN has been hit.

If we would stop immediately at MAXLEN, as we did, the client would
continue to send data which the server may consider as new Assuan
commands.

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

Details

Provenance
wernerAuthored on Aug 28 2015, 10:22 AM
Parents
rAd4bef26a4987: Add configure option --enable-build-timestamp.
Branches
Unknown
Tags
Unknown