[exim-dev] [Bug 917] New condition expansion variables - $c…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Phil Pennock
Päiväys:  
Vastaanottaja: exim-dev
Aihe: [exim-dev] [Bug 917] New condition expansion variables - $condvalue_left, $condvalue_right
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=917




--- Comment #1 from Phil Pennock <exim-dev@???> 2009-12-19 11:13:37 ---
Created an attachment (id=370)
--> (http://bugs.exim.org/attachment.cgi?id=370)
BAD PATCH: implementation which fails with -O2

Folks,

The attached patch is bad, but I'd like feedback from someone who understands
Exim's memory management please, so I'm posting the patch for review.

If Exim is built without gcc -O2, then the patch appears to work fine (not
extensively tested yet). If Exim is built with the -O2 then there's a segfault
at the second hunk of the patch against expand.c, where I call store_free().

I'm scratching my head and asking for help.

Thanks,
-Phil


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email