Xorriso_sieve_clear_results() dereferenced NULL if message sieve never started
This commit is contained in:
parent
df54691f2f
commit
dc3263534d
@ -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