[exim-dev] [Bug 2061] New: Initial $value in reduce being er…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: admin
日付:  
To: exim-dev
新しいトピック: [exim-dev] [Bug 2061] Initial $value in reduce being erased
題目: [exim-dev] [Bug 2061] New: Initial $value in reduce being erased
https://bugs.exim.org/show_bug.cgi?id=2061

            Bug ID: 2061
           Summary: Initial $value in reduce being erased
           Product: Exim
           Version: 4.88
          Hardware: x86
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: String expansion
          Assignee: nigel@???
          Reporter: pdp@???
                CC: exim-dev@???


Created attachment 999
--> https://bugs.exim.org/attachment.cgi?id=999&action=edit
git bisect try script

Victor Ustugov reports on exim-users of an expansion which worked in 4.87.1 but
fails in 4.88 and 4.89RC6.

    ${reduce {b}{a aaa}{${extract{1}{ }{$value}} , $item}}


Should: a , b
Bad: , b

This tracked back to 20fcb1e7be45177beca2d433f54260843cc7c2f6

Reverting this commit resolves the issue, but:

(1) I don't understand why this is causing the issue, unless we're _relying_
upon `lookup_value = save_lookup` happening during the skipping-stage??

(2) It's unclear from history if this commit, in bug 1870, fixed a crash bug

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