[exim-dev] [Bug 2296] Crash when > 1 address redirections us…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 2296] Crash when > 1 address redirections used with cutthrough
https://bugs.exim.org/show_bug.cgi?id=2296

--- Comment #3 from Tim Stewart <tstewart@???> ---
Thanks for the quick turnaround!

This patch fixes the crash/corrupt log data for me. However, it appears to
only preserve the first and last entries in the redirection list even though it
allocates memory for each element in the list. Did you actually mean for the
loop to look like the following?

  for (caddr = &cutthrough.addr, parent = addr->parent;
       parent;
       parent = parent->parent) {
    *(caddr->parent = store_get(sizeof(address_item))) = *parent;
    caddr = caddr->parent;
  }


--
You are receiving this mail because:
You are on the CC list for the bug.