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 13 Jan 2008 05:55:49 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 1 - LaterStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Sun 13 Jan 2008 06:00:40 PM UTC, 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 13 Jan 2008 05:55:49 PM UTC, 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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup