mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common/iobuf.c: Better respect boundary conditions in iobuf_read_line.
* common/iobuf.c (iobuf_read_line): Be more careful with boundary conditions. * common/iobuf.h: Include <gpg-error.h>. * common/t-iobuf.c: New file. * common/Makefile.am (module_tests): Add t-iobuf. (t_mbox_util_LDADD): New variable. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>.
This commit is contained in:
parent
fa9fda23c2
commit
4e32c602f5
4 changed files with 241 additions and 28 deletions
|
@ -31,6 +31,9 @@
|
|||
#ifndef GNUPG_COMMON_IOBUF_H
|
||||
#define GNUPG_COMMON_IOBUF_H
|
||||
|
||||
/* For estream_t. */
|
||||
#include <gpg-error.h>
|
||||
|
||||
#include "../common/types.h"
|
||||
#include "../common/sysutils.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue