Xorriso_sieve_clear_results() dereferenced NULL if message sieve never started
This commit is contained in:
parent
88b4584ab2
commit
5e6a20e5b0
@ -1589,6 +1589,8 @@ int Xorriso_sieve_clear_results(struct XorrisO *xorriso, int flag)
|
|||||||
{
|
{
|
||||||
struct Xorriso_msg_filteR *f;
|
struct Xorriso_msg_filteR *f;
|
||||||
|
|
||||||
|
if(xorriso->msg_sieve == NULL)
|
||||||
|
return(1);
|
||||||
for(f= xorriso->msg_sieve->first_filter; f != NULL; f= f->next) {
|
for(f= xorriso->msg_sieve->first_filter; f != NULL; f= f->next) {
|
||||||
f->num_results= 0;
|
f->num_results= 0;
|
||||||
f->num_delivered= 0;
|
f->num_delivered= 0;
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2012.12.25.175536"
|
#define Xorriso_timestamP "2012.12.25.180844"
|
||||||
|
Loading…
Reference in New Issue
Block a user