[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2006-04-14 Thread Sara Golemon
pollita Fri Apr 14 17:47:51 2006 UTC Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: MFH (r-1.436) copy() should not disrespect open_basedir on source file http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/file.c?r1=1.279.2.70&r2=1.279

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2005-03-27 Thread Ilia Alshanetsky
iliaa Sun Mar 27 10:54:00 2005 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: MFH: revert copy patch. http://cvs.php.net/diff.php/php-src/ext/standard/file.c?r1=1.279.2.69&r2=1.279.2.70&ty=u Index: php-src/ext/standard/file.c d

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2004-10-28 Thread Andi Gutmans
andiThu Oct 28 20:38:45 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: - [PATCH] Bug fix for #29770, but for PHP 4.3.9 (Vladimir Zidar) http://cvs.php.net/diff.php/php-src/ext/standard/file.c?r1=1.279.2.64&r2=1.279.2.65&

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2004-10-27 Thread Antony Dovgal
tony2001Thu Oct 28 01:05:57 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: fix Win32 & Netware build http://cvs.php.net/diff.php/php-src/ext/standard/file.c?r1=1.279.2.63&r2=1.279.2.64&ty=u Index: php-src/ext/standar

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2004-10-27 Thread Antony Dovgal
tony2001Wed Oct 27 08:01:20 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: MFH: fix bug #30388 (rename across filesystems loses ownership and permission info) http://cvs.php.net/diff.php/php-src/ext/standard/file.c?r

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2004-05-14 Thread Ilia Alshanetsky
iliaa Fri May 14 12:12:06 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: MFH: Fixed possible memory leak inside popen(). http://cvs.php.net/diff.php/php-src/ext/standard/file.c?r1=1.279.2.59&r2=1.279.2.60&ty=u Index: php-s

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c /ext/standard/tests/file fgetcsv.phpt

2004-04-02 Thread Ilia Alshanetsky
iliaa Fri Apr 2 11:54:45 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c /php-src/ext/standard/tests/filefgetcsv.phpt Log: Fixed bug #27730. http://cvs.php.net/diff.php/php-src/ext/standard/file.c?r1=1.279.2.58&r2=1.27

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2004-03-26 Thread Ard Biesheuvel
abies Fri Mar 26 15:53:10 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: Alignment fix http://cvs.php.net/diff.php/php-src/ext/standard/file.c?r1=1.279.2.57&r2=1.279.2.58&ty=u Index: php-src/ext/standard/file.c diff -u php-src

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c /ext/standard/tests/file fgetcsv.phpt

2004-01-29 Thread Ilia Alshanetsky
iliaa Thu Jan 29 09:35:35 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard/tests/filefgetcsv.phpt /php-src/ext/standard file.c Log: Fix for a possible crash in fgetcsv(). (Patch by Moriyoshi Koizumi) http://cvs.php.net/diff.php

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2004-01-19 Thread Ilia Alshanetsky
iliaa Mon Jan 19 13:40:47 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: MFH: Fixed bug #26967 (make various file operations return FALSE on error). http://cvs.php.net/diff.php/php-src/ext/standard/file.c?r1=1.279.2.54&r2=

Re: [PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c /ext/standard/tests/file bug26634.phpt

2004-01-18 Thread Moriyoshi Koizumi
I have little time atm, and actually it's bout time I was in bed :) Could you do it for me? Thanks, Moriyoshi On 2004/01/19, at 5:36, Ilia Alshanetsky wrote: Certainly, if you want to do so, please go ahead, if not I'll do it myself either tonight or tomorrow. Ilia -- PHP CVS Mailing List (http:

Re: [PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c /ext/standard/tests/file bug26634.phpt

2004-01-18 Thread Ilia Alshanetsky
Certainly, if you want to do so, please go ahead, if not I'll do it myself either tonight or tomorrow. Ilia On January 18, 2004 03:34 pm, Moriyoshi Koizumi wrote: > Isn't it a good idea to add test cases for every issue that was > revealed since the last patch? > > Moriyoshi > > On 2004/01/19, a

Re: [PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c /ext/standard/tests/file bug26634.phpt

2004-01-18 Thread Moriyoshi Koizumi
Isn't it a good idea to add test cases for every issue that was revealed since the last patch? Moriyoshi On 2004/01/19, at 3:46, Ilia Alshanetsky wrote: iliaa Sun Jan 18 13:46:33 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c /php-src/ext/st

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c /ext/standard/tests/file bug26634.phpt

2004-01-18 Thread Ilia Alshanetsky
iliaa Sun Jan 18 13:46:33 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c /php-src/ext/standard/tests/filebug26634.phpt Log: Corrections for various fgetcsv() issues. Index: php-src/ext/standard/file.c diff -u php-src/e

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2004-01-02 Thread Ilia Alshanetsky
iliaa Fri Jan 2 19:50:02 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: MFH: s/then/than/ Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.51 php-src/ext/standard/file.c:1.279.2.52 --- php-sr

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-28 Thread Ilia Alshanetsky
iliaa Sun Dec 28 14:31:49 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: Boundry check. Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.49 php-src/ext/standard/file.c:1.279.2.50 --- php-src/e

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-23 Thread Moriyoshi Koizumi
moriyoshi Tue Dec 23 06:06:43 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: Oops. Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.48 php-src/ext/standard/file.c:1.279.2.49 --- php-src/ex

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-23 Thread Moriyoshi Koizumi
moriyoshi Tue Dec 23 06:02:27 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: Fix fgetcsv()'s null line handling. # Thanks Takeshi Nakamura for reporting this bug. Index: php-src/ext/standard/file.c diff -u php-src/ex

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-22 Thread Ilia Alshanetsky
iliaa Mon Dec 22 16:03:55 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: Fixed memory leak. Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.46 php-src/ext/standard/file.c:1.279.2.47 --- php-s

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c /ext/standard/tests/file bug26634.phpt test4.csv

2003-12-15 Thread Ilia Alshanetsky
iliaa Mon Dec 15 13:53:27 2003 EDT Added files: (Branch: PHP_4_3) /php-src/ext/standard/tests/filebug26634.phpt test4.csv Modified files: /php-src/ext/standard file.c Log: Fixed bug #26634 & added test case. Index: php-src/

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-12 Thread Ilia Alshanetsky
iliaa Fri Dec 12 20:44:25 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: More fgetcsv() fixes. Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.44 php-src/ext/standard/file.c:1.279.2.45 --- ph

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-12 Thread Ilia Alshanetsky
iliaa Fri Dec 12 14:25:34 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: For BC reasons we need to do ltrim() on csv entries. Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.43 php-src/ext/st

Re: [PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-07 Thread Moriyoshi Koizumi
On 2003/12/08, at 8:50, Ilia Alshanetsky wrote: While I cannot speak for behavior of the win32 libc library I've just tested a simple C program with positive & negative ranges for the values of isspace(). In glibc 2.2.X, 2.3.X, libc4 (FreeBSD 4.7), libc5 (FreeBSD 5.1) the function works prop

Re: [PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-07 Thread Moriyoshi Koizumi
On 2003/12/08, at 8:50, Ilia Alshanetsky wrote: While I cannot speak for behavior of the win32 libc library I've just tested a simple C program with positive & negative ranges for the values of isspace(). In glibc 2.2.X, 2.3.X, libc4 (FreeBSD 4.7), libc5 (FreeBSD 5.1) the function works properl

Re: [PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-07 Thread Ilia Alshanetsky
On December 7, 2003 06:17 pm, Moriyoshi Koizumi wrote: > Nope. Regardless of the range the function covers, it may return an > unwanted > value because the function is likely backed by a simple vector and a > negative > argument may make it refer to a point out of the valid address space. While I

Re: [PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-07 Thread Moriyoshi Koizumi
On 2003/12/08, at 8:15, Ilia Alshanetsky wrote: Correct me if I am wrong but as far as I know the issue you mention only affects tolower(), toupper() and is* functions that operate on letters. Functions such as isspace() are safe since their limited character set only covers a very limited range

Re: [PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-07 Thread Ilia Alshanetsky
Correct me if I am wrong but as far as I know the issue you mention only affects tolower(), toupper() and is* functions that operate on letters. Functions such as isspace() are safe since their limited character set only covers a very limited range of characters that are not affected by the beh

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-07 Thread Moriyoshi Koizumi
moriyoshi Sun Dec 7 16:55:17 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: Those casts are really necessary. # Heads up; please be careful using is*() functions. The function of that kind # takes an integer value as it

Re: [PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-06 Thread Moriyoshi Koizumi
Hi, + /* strip leading spaces */ + while (isspace(*s) && *s != delimiter) { + s++; + } + /* strip trailing spaces */ + while (isspace(*(--e)) && *e != delimiter); + e++; + if (php_stream_get_line(stream, buf, len, &buf_len) =

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-12-06 Thread Ilia Alshanetsky
iliaa Sat Dec 6 17:07:02 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: Fixed memory corruption occuring in fgetcsv() on certain files. Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.41 php-

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-11-28 Thread Ilia Alshanetsky
iliaa Fri Nov 28 13:33:20 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: MFH: More memory leak fixes for stream contexts. Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.40 php-src/ext/standa

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c file.h

2003-09-29 Thread Stanislav Malyshev
stasMon Sep 29 10:04:16 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c file.h Log: allow realpath() for win32 non-ZTS Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.36 php-src/ext/standard/file

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-09-09 Thread Ilia Alshanetsky
iliaa Tue Sep 9 21:03:42 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: #if -> #ifdef Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.35 php-src/ext/standard/file.c:1.279.2.36 --- php-src/ex

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-07-28 Thread Ilia Alshanetsky
iliaa Mon Jul 28 10:42:56 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: MFH: Make pclose() respect references. Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.32 php-src/ext/standard/file.c:

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-07-24 Thread Wez Furlong
wez Thu Jul 24 11:23:15 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: MFH: Fix for #24629 Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.30 php-src/ext/standard/file.c:1.279.2.31 --- php-

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c /main php_streams.h streams.c

2003-06-27 Thread Sara Golemon
pollita Fri Jun 27 12:16:46 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c /php-src/main php_streams.h streams.c Log: Plug the last (hopefully) of the PHP4 context leaks. This one regarding notifier->ptr Index: php-src/

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c /main streams.c

2003-06-26 Thread Sara Golemon
pollita Thu Jun 26 21:46:30 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c /php-src/main streams.c Log: MFH: Plug memory leaks when freeing contexts (particularly options) Index: php-src/ext/standard/file.c diff -u php-sr

[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard file.c

2003-06-26 Thread Sara Golemon
pollita Thu Jun 26 21:32:26 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: MFH streamsfuncs.c r-1.22 Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.27 php-src/ext/standard/file.c:1.279.2.28 --- p