Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-13 23:57 UTC

Message

Re: reproducible crashing

2016-11-19 by manu@...

Marcus Schopen <lists@...> wrote:

> regarding to my todays post "weighting blacklists" I can reproducible
> crash milter-greylist 

Hello

Does this patch fixes it? If you can also test a rule with a regex
I am interested too, since the same bug was probably there too.

--- acl.c.orig  2016-11-19 05:58:14.000000000 +0100
+++ acl.c       2016-11-19 05:57:39.000000000 +0100
@@ -1880,9 +1880,9 @@
 void 
 acl_free_prop_string(ad)
        acl_data_t *ad;
 {
-       acl_free_string((void *)&ad->prop->upd_data);
+       acl_free_string((void *)ad->prop->upd_data);
        free(ad->prop->upd_data);
        free(ad->prop->upd_name);
        free(ad->prop);
 
@@ -1914,9 +1914,9 @@
 void 
 acl_free_prop_regex(ad)
        acl_data_t *ad;
 {
-       acl_free_regex((void *)&ad->prop->upd_data);
+       acl_free_regex((void *)ad->prop->upd_data);
        free(ad->prop->upd_data);
        free(ad->prop->upd_name);
        free(ad->prop);
 


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.