bugThe nmh Mail Handling System - Bugs: bug #15213, mktemp is deprecated and we...

 
 
Show feedback again

bug #15213: mktemp is deprecated and we shouldn't use it

Submitted by:  Peter Maydell <pm215>
Submitted on:  Thu 15 Dec 2005 01:42:07 PM UTC  
 
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 31 Dec 2006 03:44:55 AM UTC, comment #2:

Here's a patch for mshcmds.c

(file #11649)

Craig Leres <leres>
Sun 31 Dec 2006 03:40:05 AM UTC, comment #1:

This bug report addresses the mktemp() call in m_scratch.c:

https://savannah.nongnu.org/bugs/index.php?18635

Craig Leres <leres>
Thu 15 Dec 2005 01:42:07 PM UTC, original submission:

[This is debian bug #135972]

nmh uses mktemp() in a number of places. The man page says "never use mktemp()" and the linker bitches about it, because it's insecure. We need to investigate this and identify the right approach. (manpage link chasing suggests tmpfile() but since that returns a FILE* not a filename this may require reworking of the internals of nmh.)

Peter Maydell <pm215>
Project Administrator

 

(Note: upload size limit is set to 512 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #11649:  mshcmds.c.patch added by leres (1kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pm215 (Updated the item)
  • -unavailable- added by leres (Posted a comment)
  •  

    Please enter 421 here (basic anti-spam test):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 29 Dec 2008 10:41:32 PM UTCpm215CategoryNone=>Bug
    Sun 31 Dec 2006 03:44:55 AM UTCleresAttached File-=>Added mshcmds.c.patch, #11649
    Sun 31 Dec 2006 03:37:41 AM UTCleresCarbon-Copy-=>Added -unavailable-
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup