Re: [Exim] Problem with address rewriting

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: exim-users
CC: Meik Hellmund
Tárgy: Re: [Exim] Problem with address rewriting
On Tue, 15 Apr 2003, I wrote:

> Indeed it does. I can reproduce the effect. I will fix this bug and post
> a patch as soon as possible.


Here is the patch.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.




*** exim-4.14/src/rewrite.c Tue Mar 11 12:20:22 2003
--- rewrite.c    Tue Apr 15 11:37:33 2003
***************
*** 261,267 ****
          while (*p2 == ' ') p2++;
          pf2 = parse_fix_phrase(p2, Ustrlen(p2), buff2, sizeof(buff2));


!         start = Ustrlen(buff1) + start + new - p1;
          end = start + Ustrlen(newparsed);
          new = string_sprintf("%s%.*s%s", pf1, p2 - p1, p1, pf2);
          }
--- 261,267 ----
          while (*p2 == ' ') p2++;
          pf2 = parse_fix_phrase(p2, Ustrlen(p2), buff2, sizeof(buff2));


!         start = Ustrlen(pf1) + start + new - p1;
          end = start + Ustrlen(newparsed);
          new = string_sprintf("%s%.*s%s", pf1, p2 - p1, p1, pf2);
          }