[exim-dev] [Bug 479] New: oracle lookup segfaults on x86-64

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: bug479
Data:  
Para: exim-dev
Assunto: [exim-dev] [Bug 479] New: oracle lookup segfaults on x86-64
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=479

           Summary: oracle lookup segfaults on x86-64
           Product: Exim
           Version: 4.66
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Lookups
        AssignedTo: ph10@???
        ReportedBy: jsc@???
         QAContact: exim-dev@???



The Oracle lookup segfaults on x86-64 in the call to oopen(). After much
frustration and head scratching, I happened to see this comment near the top of
the file:
/* Paul's comment on this was "change this to 512 for 64bit cpu", but I don't
understand why. The Oracle manual just asks for 256 bytes. */
#define HDA_SIZE 256

Thinking maybe "Paul" might have known something, I increased HDA_SIZE to 512
and it worked fine.

I think this should just be changed to 512 in all cases, because at the worst
it only wastes 256 bytes, and who can't afford 256 bytes these days.

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