bugGNU arch -- a revision control system - Bugs: bug #7042, file descriptor leak in...

 
 

bug #7042: file descriptor leak in pfs_file_contents()

Submitted by:  None
Submitted on:  Thu 01 Jan 2004 06:39:40 AM UTC  
 
Category: tlaSeverity: 3 - Normal
Item Group: bugStatus: Fixed
Privacy: PublicOpen/Closed: Closed
Release: tla-1.2-pre0 (also tla--devo--1.2--patch-50)
Fixed Release: 
Merge Request?: yes -- merge from my archive
Your Archive Name: giles@nemeton.com.au--2004-GPL/tla--giles--1.2--patch-1
Your Archive Location: http://www.nemeton.com.au/{archives}/giles@nemeton.com.au--2004-GPL
Assigned to: James Blackwell <jblack>

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 06 Jan 2004 11:38:18 PM UTC, comment #1:

Patch merged. Thanks!

James Blackwell <jblack>In charge of this item.
Thu 01 Jan 2004 06:39:40 AM UTC, original submission:

[ Background: this may be a duplicate of bug 6887:

http://savannah.gnu.org/bugs/?func=detailitem&item_id=6887
]

pfs_file_contents() has a file descriptor leak: if ne_err
is set upon return from ne_get() but the variable
soft_errors is not true then the temporary file opened in
pfs_file_contents() is not closed.

The problem shows up when mirroring lord@emf.net--2003
using the tla-1.2pre0 or tla--devo--1.2--patch-50. The
code change allows the archive-mirror command to complete,
but needs review by someone who understands ne_get() and
soft_errors.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 06 Jan 2004 11:38:18 PM UTCjblackStatusNone=>Fixed
  Open/ClosedOpen=>Closed
  Assigned toNone=>jblack
Thu 01 Jan 2004 10:42:36 AM UTCgflCarbon-Copy-=>Added gfl

Back to the top


Powered by Savane 3.1-cleanup1