Home GnuPG

Do not segv if NULL is passed for CTX in sendfd and receivefd.
0da6afa864cfUnpublished

Unpublished Commit · Learn More

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

Description

Do not segv if NULL is passed for CTX in sendfd and receivefd.

* src/assuan-buffer.c (assuan_sendfd): Check that CTX is not NULL.
(assuan_receivefd): Ditto.

This change is to align the behaviour with that of assuan_send_data.

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

Details

Provenance
wernerAuthored on Jun 26 2015, 12:04 PM
Parents
rAc6b131949bb6: Fix documentation for assuan_inquire.
Branches
Unknown
Tags
Unknown

Event Timeline