Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
5.2.9
>
php-5.2.9
> php-5.2.5-fdleak.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php-5.2.5-fdleak.patch of Package php-5.2.9
Index: main/fopen_wrappers.c =================================================================== RCS file: /repository/php-src/main/fopen_wrappers.c,v retrieving revision 1.175.2.3.2.16 retrieving revision 1.175.2.3.2.17 diff -u -r1.175.2.3.2.16 -r1.175.2.3.2.17 --- main/fopen_wrappers.c 9 Oct 2007 10:06:34 -0000 1.175.2.3.2.16 +++ main/fopen_wrappers.c 27 Dec 2007 02:10:26 -0000 1.175.2.3.2.17 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: fopen_wrappers.c,v 1.175.2.3.2.16 2007/10/09 10:06:34 scottmac Exp $ */ +/* $Id: fopen_wrappers.c,v 1.175.2.3.2.17 2007/12/27 02:10:26 bjori Exp $ */ /* {{{ includes */ @@ -620,6 +620,7 @@ * relatively referenced file is accessible */ copy_len = strlen(filepath) > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : strlen(filepath); real_path = estrndup(filepath, copy_len); + close(fdtest); return real_path; } else { cwd[0] = '\0';