[exim-dev] [Bug 1688] New: overlength error message in expan…

Página Inicial
Delete this message
Reply to this message
Autor: admin
Data:  
Para: exim-dev
Assunto: [exim-dev] [Bug 1688] New: overlength error message in expand.c
https://bugs.exim.org/show_bug.cgi?id=1688

            Bug ID: 1688
           Summary: overlength error message in expand.c
           Product: Exim
           Version: 4.84
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: String expansion
          Assignee: nigel@???
          Reporter: jasen@???
                CC: exim-dev@???


2015-09-04 17:11:45 1ZXuWe-0003TD-9V string_sprintf expansion was longer than
32768 (lookup of "%s" gave DEFER: %s)


this seems to be coming from expand.c

          expand_string_message =
            string_sprintf("lookup of \"%s\" gave DEFER: %s",
              string_printing2(key, FALSE), search_error_message);
          goto EXPAND_FAILED;


perhaps the format string should be changed to something like:       


"lookup of \"%.20000s\" gave DEFER: %.10000s",

which will result in an under-length string for any inputs.

But I have not found out how to provoke this error. The message-id is unknown
in the main log file. so its probably some ACL code.

If I have an infinite loop causing this error that change would possibly make
matters worse.

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