bugBongo Project - Bugs: bug #10766, Temporary file handling in maildir...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #10766: Temporary file handling in maildir needs improvement

Submitted by:  Alex Hudson <alexhudson>
Submitted on:  Sun Jan 13 17:55:49 2008  
Category: NoneSeverity: 3 - Normal
Priority: 1 - LaterStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Sun Jan 13 18:00:40 2008, SVN revision 588:
  • add documentation to the maildir helper functions to better define what they do
  • extend the indexer to look in odd (=temporary) file locations
  • bug-fix our handling of temporary files in maildirs. Raises bug #10766

(Browse SVN revision 588)

Alex Hudson <alexhudson>
Project Administrator
Sun Jan 13 17:55:49 2008, original submission:

At the moment, MaildirTempDocument() uses mkstemp() to get a unique filename in the temporary mail area.

This is probably wrong: we need to turn this into two functions. The first to return a file handle to a temporary file, the second to link something into the temporary file name.

It's not overly problematic I can see - it's likely not a security issue either - but it's slightly more work than we need to do.

We can probably lose mkstemp() as well, and do it more maildir-like.

Alex Hudson <alexhudson>
Project Administrator


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by alexhudson (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup