Re: [patch] httpd/src/modules/ssl/ssl_util_table.c - fd leak

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ted Unangst
Date: Friday, February 5, 2010 - 7:14 pm

You are correct, but the patch isn't complete.  You should be calling
fclose on the FILE *.  Also, the table_write function has similar
bugs.  I spent some time consolidating the error handling, but
eventually just gave up.  (are these functions even used?)

2009/12/18 Igor Zinovik <zinovik@petrsu.ru>:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
kernel/6246 in a different guise, Greg Steuck, (Sun Jan 3, 1:16 am)
Re: kernel/6246 in a different guise, Greg Steuck, (Sun Jan 3, 12:55 pm)
Re: [patch] httpd/src/modules/ssl/ssl_util_table.c - fd leak, Ted Unangst, (Fri Feb 5, 7:14 pm)
Re: [patch] httpd/src/modules/ssl/ssl_util_table.c - fd leak, Stuart Henderson, (Sat Feb 6, 5:38 am)