/trunk/debian/changelog |
---|
1,3 → 1,12 |
sa-exim (4.2.1-9) UNRELEASED; urgency=low |
* Fix ugly bug caused by expanding $primary_hostname to the |
non-permanent memory pool, where it will be overwritten when |
receiveing multiple messages over the same connection (strangely |
enough, nobody noticed). |
-- |
sa-exim (4.2.1-8) unstable; urgency=medium |
* Urgency medium to reach testing before exim4. |
/trunk/sa-exim.c |
---|
605,8 → 605,11 |
/* This needs to be retrieved through expand_string in order |
not to violate the API. */ |
static uschar *primary_hostname; |
if (!primary_hostname) |
if (!primary_hostname) { |
store_pool = POOL_PERM; |
primary_hostname = expand_string("$primary_hostname"); |
store_pool = POOL_MAIN; |
} |
/* New values we read from spamassassin */ |
char *xspamstatus=NULL; |