summaryrefslogtreecommitdiff
path: root/ext/session/mod_files.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'pull-request/1360' into PHP-7.0Joe Watkins2017-01-061-2/+8
|\ | | | | | | | | | | * pull-request/1360: Fixed bug #69582 session not readable by root in CLI news entry for PR #1360
| * *[Sessions]: Now session is accessible if process is ran by root. Fixing ↵Evgeniy Spinov2015-06-281-1/+1
| | | | | | | | | | | | bug: https://bugs.php.net/bug.php?id=69582 *[Sessions]: Replaced fstat with zend_fstat
| * *[Sessions]: Now session is accessible if process is ran by root. Fixing ↵Evgeniy Spinov2015-06-241-2/+8
| | | | | | | | bug: https://bugs.php.net/bug.php?id=69582
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | remove TSRMLS_*Anatol Belski2016-11-211-2/+2
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Christoph M. Becker2016-09-161-1/+1
|\ \
| * | Fix #73100: session_destroy null dereference in ps_files_path_createChristoph M. Becker2016-09-161-1/+1
| | |
* | | Merge branch 'PHP-5.6' into PHP-7.0Yasuo Ohgaki2016-09-091-0/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: Fixed Bug #68015 Session does not report invalid uid for files save handler
| * | Fixed Bug #68015 Session does not report invalid uid for files save handlerYasuo Ohgaki2016-09-091-1/+3
| | |
| * | Revert "fix leak in 5.6"Anatol Belski2016-01-291-12/+0
| | | | | | | | | | | | This reverts commit fa548e5ca9b275ac383cadddde0f4e6d9a806f24.
| * | fix leak in 5.6Anatol Belski2016-01-291-0/+12
| | |
| * | refix bug #69111, crash in 5.6 onlyAnatol Belski2016-01-291-0/+4
| | |
* | | phpdbg: couple of network function return checks. PossibleDavid Carlier2016-09-041-0/+1
| | | | | | | | | | | | overflow when copy the socket_path configuration.
* | | Fixed bug #72531 (ps_files_cleanup_dir Buffer overflow)Xinchen Hui2016-07-031-0/+5
| | |
* | | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * | Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| | |
* | | Use defined macroXinchen Hui2015-11-071-1/+1
| | |
* | | Revert "Fixed bug #70876 Segmentation fault when regenerating session id ↵Xinchen Hui2015-11-071-4/+0
| | | | | | | | | | | | | | | | | | with strict mode" This reverts commit 0bf3ebb4ba77f38261d9cb21a205a7d31b7f85cf.
* | | Fixed bug #70876 Segmentation fault when regenerating session id with strict ↵Reeze Xia2015-11-071-0/+4
| | | | | | | | | | | | | | | | | | | | | mode The comment *mod_data always be non-NULL is not true. The same as this FIXME: https://github.com/php/php-src/blob/master/ext/session/mod_files.c#L676
* | | Fixed bug #70529 Session read causes "String is not zero-terminated" errorYasuo Ohgaki2015-09-191-0/+1
| | |
* | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-18/+18
| | | | | | | | | | | | semantick changes).
* | | Improved zend_string API (Francois Laupretre)Dmitry Stogov2015-06-291-2/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit d96eab8d79b75ac83d49d49ae4665f948d15a804 Author: Francois Laupretre <francois@tekwire.net> Date: Fri Jun 26 01:23:31 2015 +0200 Use the new 'ZSTR' macros in the rest of the code. Does not change anything to the generated code (thanks to compat macros) but cleaner. commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8 Author: Francois Laupretre <francois@tekwire.net> Date: Thu Jun 25 13:45:06 2015 +0200 Improve zend_string API Add missing methods
* | Merge branch 'PHP-5.6'Yasuo Ohgaki2015-04-241-0/+1
|\ \ | |/ | | | | | | * PHP-5.6: Set NULL after efree
| * Set NULL after efreeYasuo Ohgaki2015-04-241-0/+1
| |
* | robuster read/write for mod ps_filesAnatol Belski2015-03-241-6/+41
| |
* | fix datatype mismatchesAnatol Belski2015-03-241-1/+1
| |
* | Fixed typos in commentsYasuo Ohgaki2015-02-041-14/+14
| |
* | Merge branch 'PHP-5.6'Yasuo Ohgaki2015-02-031-1/+4
|\ \ | |/ | | | | | | | | | | | | * PHP-5.6: Fixed Bug #66623 no EINTR check on flock(LOCK_EX) Conflicts: ext/session/mod_files.c
| * Fixed Bug #66623 no EINTR check on flock(LOCK_EX)Yasuo Ohgaki2015-02-031-2/+5
| |
* | Merge branch 'PHP-5.6'Yasuo Ohgaki2015-02-011-1/+1
|\ \ | |/ | | | | | | * PHP-5.6: Fixed typo in comment
| * Fixed typo in commentYasuo Ohgaki2015-02-011-1/+1
| |
| * Bump yearXinchen Hui2015-01-151-1/+1
| |
* | remove unused variableAnatol Belski2015-01-301-1/+0
| |
* | WIP - test passesYasuo Ohgaki2015-01-221-45/+217
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-23/+23
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | reduce struct size by 8 byte on 64 bitAnatol Belski2014-09-131-1/+1
| |
* | revert the lstat partAnatol Belski2014-08-291-2/+2
| |
* | fix stat vs zend_statAnatol Belski2014-08-291-2/+2
| |
* | data type fixesAnatol Belski2014-08-291-2/+2
| |
* | master renames phase 3Anatol Belski2014-08-251-4/+4
| |
* | master renames phase 1Anatol Belski2014-08-251-6/+6
| |
* | ported ext/sessionAnatol Belski2014-08-191-6/+6
| |
* | This should be this (broken compiling before)Xinchen Hui2014-05-191-1/+1
| |
* | only used if HAVE_NOFOLLOWPierre Joye2014-05-171-0/+2
| |
* | - Fixed ZTS buildFelipe Pena2014-05-131-1/+1
| |
* | Merge mainstream 'master' branch into refactoringDmitry Stogov2014-04-261-12/+23
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Merge branch 'PHP-5.4' into PHP-5.5Anatol Belski2014-04-141-1/+7
| |\ | | | | | | | | | | | | * PHP-5.4: fix windows build