diff options
author | Werner Koch <wk@gnupg.org> | 1998-11-25 12:55:58 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-11-25 12:55:58 +0100 |
commit | 71134011e3dc4beec17306c797b72d37aa2f52da (patch) | |
tree | d717032e418f5b93bb63b560913b142e168d64d3 /util | |
parent | Restructured the RNG source and add support for loadable (diff) | |
download | gnupg2-71134011e3dc4beec17306c797b72d37aa2f52da.tar.xz gnupg2-71134011e3dc4beec17306c797b72d37aa2f52da.zip |
Some experimental support for other random gatheres
Diffstat (limited to 'util')
-rw-r--r-- | util/ChangeLog | 4 | ||||
-rw-r--r-- | util/iobuf.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/util/ChangeLog b/util/ChangeLog index ce70b85a8..e047de824 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -1,3 +1,7 @@ +Wed Nov 25 11:30:07 1998 Werner Koch (wk@isil.d.shuttle.de) + + * iobuf.c (iobuf_pop_filter): Fixed sigsegv after error. + Thu Nov 19 07:09:55 1998 Werner Koch <werner.koch@guug.de> * miscutil.c (strtimevalue): New. diff --git a/util/iobuf.c b/util/iobuf.c index e1b62cfc2..d58a8e40d 100644 --- a/util/iobuf.c +++ b/util/iobuf.c @@ -756,7 +756,7 @@ iobuf_pop_filter( IOBUF a, int (*f)(void *opaque, int control, return rc; } /* and tell the filter to free it self */ - if( (rc = b->filter(b->filter_ov, IOBUFCTRL_FREE, b->chain, + if( b->filter && (rc = b->filter(b->filter_ov, IOBUFCTRL_FREE, b->chain, NULL, &dummy_len)) ) { log_error("IOBUFCTRL_FREE failed: %s\n", g10_errstr(rc) ); return rc; |