History log of /PHP_TRUNK/ext/bz2/bz2.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
05bad6a 30-Oct-2014 Anatol Belski <ab@php.net> fix some datatype mismatches in ext/bz2

Additionally, as bz2 read/write routines expect int for sizes, it could
overflow. So fixed the logic. Things in compress/decompress are more
complicated so they was left as they are yet.
/php-src/ext/bz2/bz2.c
d0cb715 19-Sep-2014 Johannes Schl├╝ter <johannes@php.net> s/PHP 5/PHP 7/
/php-src/ext/bz2/bz2.c
571537a 19-Sep-2014 Anatol Belski <ab@php.net> remove useless check
/php-src/ext/bz2/bz2.c
257ed40 27-Aug-2014 Anatol Belski <ab@php.net> 's' works with size_t round 2
/php-src/ext/bz2/bz2.c
3234480 27-Aug-2014 Anatol Belski <ab@php.net> first show to make 's' work with size_t
/php-src/ext/bz2/bz2.c
4d997f6 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 3
/php-src/ext/bz2/bz2.c
c3e3c98 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 1
/php-src/ext/bz2/bz2.c
29dc15b 19-Aug-2014 Anatol Belski <ab@php.net> fixes to ext/bz2
/php-src/ext/bz2/bz2.c
63d3f0b 19-Aug-2014 Anatol Belski <ab@php.net> basic macro replacements, all at once
/php-src/ext/bz2/bz2.c
797c166 16-May-2014 Pierre Joye <pierre.php@gmail.com> test the right length and remove unused var (remaining from 'old' version)
/php-src/ext/bz2/bz2.c
7fcd406 13-May-2014 Dmitry Stogov <dmitry@zend.com> Merge branch 'master' into phpng

* master: (41 commits)
fix test - output can be chunked
fix test
fix test
Fixed test for commit 997be125eb0228c5b1b6dd278f617791e71192c6
Add bug fix to NEWS
Update UPGRADING according to bug fix
fix test
improve CURL tests to allow testing without separate server
improve CURL tests to allow testing without separate server
Fixed bug #67199 mb_regex_encoding mishmash
Fix bug #67248 (imageaffinematrixget missing check of parameters)
Fix bug #67247 spl_fixedarray_resize integer overflow
fix news
add tests stuff to README
Updated NEWS
Fix Linux specific fail in error traces (cherry-picked and fix for bug #67245) Linux apparently does not like memcpy in overlapping regions...
- Fixed off-by-one in phar_build (patch by crrodriguez at opensuse dot org)
- Move checking
- Fixed missing NULL check in SimpleXMLElement::xpath()
- Fixed missing NULL check
...

Conflicts:
ext/bz2/bz2.c
ext/gd/gd.c
ext/mbstring/php_mbregex.c
ext/session/tests/031.phpt
ext/simplexml/simplexml.c
ext/spl/spl_fixedarray.c
afa1de1 08-May-2014 Xinchen Hui <laruence@php.net> Finish bz2 (all tests passed)
/php-src/ext/bz2/bz2.c
ebaee94 08-May-2014 krakjoe <joe.watkins@live.co.uk> bz2 changes for phpng
/php-src/ext/bz2/bz2.c
a3f09eb 08-May-2014 Stanislav Malyshev <stas@php.net> Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
oops, 5.4 and 5.5 use malloc in TSRM
4392339 08-May-2014 Stanislav Malyshev <stas@php.net> oops, 5.4 and 5.5 use malloc in TSRM
/php-src/ext/bz2/bz2.c
0c709cc 08-May-2014 Stanislav Malyshev <stas@php.net> Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
Fix memory leak in TSRM
0cc18fd 07-May-2014 Stanislav Malyshev <stas@php.net> Fix memory leak in TSRM
/php-src/ext/bz2/bz2.c
f9927a6 25-Apr-2014 Dmitry Stogov <dmitry@zend.com> Merge mainstream 'master' branch into refactoring
During merge I had to revert:
Nikita's patch for php_splice() (it probably needs to be applyed again)
Bob Weinand's patches related to constant expression handling (we need to review them carefully)
I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway)

Conflicts:
Zend/zend.h
Zend/zend_API.c
Zend/zend_ast.c
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_constants.c
Zend/zend_exceptions.c
Zend/zend_execute.c
Zend/zend_execute.h
Zend/zend_execute_API.c
Zend/zend_hash.c
Zend/zend_highlight.c
Zend/zend_language_parser.y
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_variables.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/date/php_date.c
ext/dom/documenttype.c
ext/hash/hash.c
ext/iconv/iconv.c
ext/mbstring/tests/zend_multibyte-10.phpt
ext/mbstring/tests/zend_multibyte-11.phpt
ext/mbstring/tests/zend_multibyte-12.phpt
ext/mysql/php_mysql.c
ext/mysqli/mysqli.c
ext/mysqlnd/mysqlnd_reverse_api.c
ext/mysqlnd/php_mysqlnd.c
ext/opcache/ZendAccelerator.c
ext/opcache/zend_accelerator_util_funcs.c
ext/opcache/zend_persist.c
ext/opcache/zend_persist_calc.c
ext/pcre/php_pcre.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/pdo_pgsql/pgsql_driver.c
ext/pgsql/pgsql.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/html.c
ext/standard/mail.c
ext/standard/php_array.h
ext/standard/proc_open.c
ext/standard/streamsfuncs.c
ext/standard/user_filters.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
main/php_variables.c
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_frame.c
sapi/phpdbg/phpdbg_help.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_print.c
sapi/phpdbg/phpdbg_prompt.c
050d7e3 15-Apr-2014 Dmitry Stogov <dmitry@zend.com> Cleanup (1-st round)
/php-src/ext/bz2/bz2.c
62f6c58 19-Mar-2014 Anatol Belski <ab@php.net> Fixes to various stream cast on win64

This fixes further issues on win64 with casts from the streams.
Sockets/descriptors handling was unitized. This has an impact only on
win64, php_socket_t otherwise can be feed back to int datatype.
/php-src/ext/bz2/bz2.c
c081ce6 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/php-src/ext/bz2/bz2.c
c0d060f 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/php-src/ext/bz2/bz2.c
92d27cc 29-Jul-2013 Andrey Hristov <andrey@php.net> Constify streams API and a few other calls down the rabbit hole.
(`char *` to `const char *` for parameters and few return values)
In a few places int len moved to size_t len.
/php-src/ext/bz2/bz2.c
02e4d7a 10-Jun-2013 Stanislav Malyshev <stas@php.net> Merge branch 'pull-request/341'

* pull-request/341: (23 commits)
typofixes
/php-src/ext/bz2/bz2.c
ac40c0b 10-Jun-2013 Stanislav Malyshev <stas@php.net> Merge branch 'pull-request/341'

* pull-request/341: (23 commits)
typofixes
/php-src/ext/bz2/bz2.c
a666285 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/php-src/ext/bz2/bz2.c
0a7395e 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/php-src/ext/bz2/bz2.c
8775a37 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/bz2/bz2.c
4e19825 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/bz2/bz2.c
4b30846 25-Jul-2011 Felipe Pena <felipe@php.net> - Make usage of new PHP_FE_END macro
/php-src/ext/bz2/bz2.c
da37638 25-Jul-2011 Felipe Pena <felipe@php.net> - Make usage of new PHP_FE_END macro
/php-src/ext/bz2/bz2.c
9805e16 22-Jul-2011 Pierre Joye <pajoye@php.net> - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
/php-src/ext/bz2/bz2.c
cc1c7af 22-Jul-2011 Pierre Joye <pajoye@php.net> - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
/php-src/ext/bz2/bz2.c
32b5f8a 06-Jun-2011 Felipe Pena <felipe@php.net> - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
/php-src/ext/bz2/bz2.c
4737910 06-Jun-2011 Felipe Pena <felipe@php.net> - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
/php-src/ext/bz2/bz2.c
0203cc3 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/bz2/bz2.c
a53f43d 13-Sep-2010 Adam Harvey <aharvey@php.net> Fix bug #52826 (phpinfo is incorrect for bzip2 stream wrapper).
/php-src/ext/bz2/bz2.c
8092656 26-Jun-2010 Felipe Pena <felipe@php.net> - Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for function aliases)
/php-src/ext/bz2/bz2.c
dd8e59d 26-Apr-2010 Kalle Sommer Nielsen <kalle@php.net> Removed safe_mode
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
/php-src/ext/bz2/bz2.c
9ba1e81 03-Jan-2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
/php-src/ext/bz2/bz2.c
db137b4 15-May-2009 Kalle Sommer Nielsen <kalle@php.net> MFH: Fix compiler warnings
/php-src/ext/bz2/bz2.c
08659c2 31-Dec-2008 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 3 of 3.
/php-src/ext/bz2/bz2.c
fc2fb50 17-Nov-2008 Felipe Pena <felipe@php.net> - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
/php-src/ext/bz2/bz2.c
7a37fa2 02-Nov-2008 Felipe Pena <felipe@php.net> - Revert ZEND_BEGIN_ARG_INFO change
/php-src/ext/bz2/bz2.c
df10005 24-Oct-2008 Felipe Pena <felipe@php.net> - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
/php-src/ext/bz2/bz2.c
1d5ba8b 21-Oct-2008 Arnaud Le Blanc <lbarnaud@php.net> MFH: initialize optional vars
/php-src/ext/bz2/bz2.c
28a2239 23-Jul-2008 Antony Dovgal <tony2001@php.net> MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE
/php-src/ext/bz2/bz2.c
0c9d42b 23-Jul-2008 Antony Dovgal <tony2001@php.net> MFH: add PHP_STREAM_FLAG_FCLOSE, bz2 streams can be closed with fclose()
/php-src/ext/bz2/bz2.c
0729dab 01-Jul-2008 Antony Dovgal <tony2001@php.net> on the contrary, string length is int
/php-src/ext/bz2/bz2.c
e4ad581 22-Jun-2008 Alexey Zakhlestin <indeyets@php.net> updated to the new parameter-parsing api
/php-src/ext/bz2/bz2.c
d1dded8 31-Dec-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 2 of 2.
/php-src/ext/bz2/bz2.c
6c810b0 27-Sep-2007 Dmitry Stogov <dmitry@php.net> Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
/php-src/ext/bz2/bz2.c
6d70aa1 14-Mar-2007 Ilia Alshanetsky <iliaa@php.net> Added missing open_basedir & safe_mode checks to zip:// and bzip://
wrappers.

Issues idendtified by MOPB-20 and MOPB-21
/php-src/ext/bz2/bz2.c
49a7bcd 06-Mar-2007 Stanislav Malyshev <stas@php.net> use safe_realloc
/php-src/ext/bz2/bz2.c
4223aa4 01-Jan-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump year.
/php-src/ext/bz2/bz2.c
35db4d2 25-Dec-2006 Antony Dovgal <tony2001@php.net> MFH
/php-src/ext/bz2/bz2.c
92963d1 17-Aug-2006 Antony Dovgal <tony2001@php.net> fix #38485 (bz2 extension does not compile with GCC 4.1)
/php-src/ext/bz2/bz2.c
ddb4d1f 14-Aug-2006 Nuno Lopes <nlopess@php.net> move static declaration to *.c files
mroe static/const keywording
/php-src/ext/bz2/bz2.c
615a15d 14-Aug-2006 Nuno Lopes <nlopess@php.net> a few more static keywording
/php-src/ext/bz2/bz2.c
5d2d2fd 26-Jun-2006 Antony Dovgal <tony2001@php.net> MFH: detect empty mode string and avoid off-by-one
/php-src/ext/bz2/bz2.c
4b674fb 21-Jun-2006 Antony Dovgal <tony2001@php.net> MFH: improve check for stream mode, add tests
/php-src/ext/bz2/bz2.c
8c30a7f 21-Jun-2006 Antony Dovgal <tony2001@php.net> MFH: don't try to read or write from/to a stream if it was open in different mode (leads to segfault in libbz2)
/php-src/ext/bz2/bz2.c
e7439fa 21-Jun-2006 Antony Dovgal <tony2001@php.net> MFH: fix invalid read with bzopen("","") and prevent filename from being empty (which causes endless loop somewhere is libbz2)
/php-src/ext/bz2/bz2.c
3104233 11-Jun-2006 Hannes Magnusson <bjori@php.net> MFH: arginfo, protos, vim folding
/php-src/ext/bz2/bz2.c
5bd9322 01-Jan-2006 foobar <sniper@php.net> bump year and license version
/php-src/ext/bz2/bz2.c
3e669bc 06-Dec-2005 foobar <sniper@php.net> MFH: nuke php3 legacy
/php-src/ext/bz2/bz2.c
e13d51c 25-Oct-2005 Ilia Alshanetsky <iliaa@php.net> MFH: Fixed bug #34968 (bz2 extension fails on to build on some win32 setups).
/php-src/ext/bz2/bz2.c
23e671a 03-Aug-2005 foobar <sniper@php.net> - Bumber up year
/php-src/ext/bz2/bz2.c
60b465f 13-Jun-2005 Edin Kadribasic <edink@php.net> MFB: MSVC++ 6.0 doesn't support long long type
/php-src/ext/bz2/bz2.c
3341b5d 09-Jun-2005 Ilia Alshanetsky <iliaa@php.net> Fixed compiler warning.
/php-src/ext/bz2/bz2.c
e3d8886 06-Jun-2005 Ilia Alshanetsky <iliaa@php.net> Better storage size for output length.
# Thanks to Stefan for noticing the problem.
/php-src/ext/bz2/bz2.c
a13aaa8 05-Jun-2005 Ilia Alshanetsky <iliaa@php.net> Fixed bug #33070 (Improved performance of bzdecompress() by several orders
of magnitude).
/php-src/ext/bz2/bz2.c
f27fb2d 19-Mar-2005 Antony Dovgal <tony2001@php.net> fix #32373 (segfault in bzopen('/wrong/path'))
/php-src/ext/bz2/bz2.c
5ffe5a4 23-Feb-2005 Ilia Alshanetsky <iliaa@php.net> MFB_4_3: Fixed bug #29521 (compress.bzip2 returns error when used with http
wrapper).
/php-src/ext/bz2/bz2.c
f92797f 20-Jul-2004 Sara Golemon <pollita@php.net> Add bz2 stream filter support
/php-src/ext/bz2/bz2.c
dbeb415 08-Jan-2004 Andi Gutmans <andi@php.net> - A belated happy holidays and PHP 5
/php-src/ext/bz2/bz2.c
c566478 13-Dec-2003 Sara Golemon <pollita@php.net> Route mkdir()/rmdir() via wrapper ops.
Move current rmdir()/rmdir() code to plain_wrappers.c
Implement mkdir()/rmdir() in ftp:// wrapper
/php-src/ext/bz2/bz2.c
b1f8236 12-Dec-2003 Sara Golemon <pollita@php.net> Route rename() via wrapper ops.
Move current rename() code to main/streams/plain_wrapper.c
Implement ftp/rename()
Implement userstreams/rename()
/php-src/ext/bz2/bz2.c
63df219 09-Dec-2003 foobar <sniper@php.net> - Update header + added missing Id tags.
/php-src/ext/bz2/bz2.c
b871ebd 15-Sep-2003 Ilia Alshanetsky <iliaa@php.net> Fixed bug #25106 (Added more stringent checks on bzopen() mode).
In some cases bz2 may fail to open the file, but stream wrappers will still
create an empty file, remove this file.
Change virtual_filepath to virtual_filepath_ex, which allows BZ2_bzfopen()
to work without having to resort to stream wrappers.
/php-src/ext/bz2/bz2.c
7153eb7 17-May-2003 Sterling Hughes <sterling@php.net> add bzip2 extension to pecl from php5 cvs
/php-src/ext/bz2/bz2.c