Bug ID: 2242
           Summary: exim_dbmbuild fails to open output files relative to
                    cwd if no / in name
           Product: Exim
           Version: 4.90
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Unfiled

Since 4.90 exim_dbmbuild fails to open output files in the current working
directory unless the filename is prefixed with ./

The issue seems to be around line 210 in exim_dbmbuild.c:

Ustrcpy(dirname, temp_dbmname);
if ((bptr = Ustrrchr(dirname, '/')))
  *bptr = '\0';

If no slash is present in temp_dbmname then dirname becomes a duplicate of
temp_dbmname. Which leads to a file not found error later when creating the
temporary file.

I guess an else condition is required here to set dirname to ./ if no slash is

You are receiving this mail because:
You are on the CC list for the bug.
## List details at Exim 
details at ##

Reply via email to