diff options
author | Neal H. Walfield <[email protected]> | 2015-08-17 09:56:42 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-08-20 12:16:24 +0000 |
commit | 827cc922d84d8113d4f13ebbed1314e03da5f7d2 (patch) | |
tree | 64589acc2ea9283826f3b17b270f15f0133c6f38 /dirmngr/server.c | |
parent | common/iobuf.c: Flush the pipeline in iobuf_temp_to_buffer. (diff) | |
download | gnupg-827cc922d84d8113d4f13ebbed1314e03da5f7d2.tar.gz gnupg-827cc922d84d8113d4f13ebbed1314e03da5f7d2.zip |
common/iobuf.c: Buffered data should not be processed by new filters.
* common/iobuf.c (iobuf_push_filter2): If the pipeline is an output or
temp pipeline, the new filter shouldn't assume ownership of the old
head's internal buffer: the data was written before the filter was
added.
* common/t-iobuf.c (double_filter): New function.
(main): Add test cases for the above bug.
--
Signed-off-by: Neal H. Walfield <[email protected]>.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions