php-src/main
Anatol Belski 49d9b3013f Move cwd_state and path related routines to size_t
Having `int` there is no real profit in the size or speed, while unsigned
improves security and overall integration. ZPP supplied strings can
be then accepted directly and structs can be still handled with smaller
unsigned types for size reasons, which is safe. Yet some related places
are to go.

basic move tsrm_realpath_r to size_t

fix conditions and sync with affected places

touch ocurrences of php_sys_readlink usage

follow up on phar path handling

remove duplicated check

move zend_resolve_path and related pieces to size_t

touch yet resolve path related places

remove cast

missing pieces

missing piece

yet cleanups for php_sys_readlink for ssize_t

fix wrong return
2017-07-27 20:11:21 +02:00
..
streams Move cwd_state and path related routines to size_t 2017-07-27 20:11:21 +02:00
alloca.c
build-defs.h.in Removed Bird(broken)step support from ODBC 2017-07-19 10:19:32 +02:00
explicit_bzero.c sync vim mode lines in main 2017-07-09 15:07:23 +02:00
fastcgi.c Merge branch 'PHP-7.0' into PHP-7.1 2017-04-30 20:27:39 +01:00
fastcgi.h Merge branch 'PHP-7.0' into PHP-7.1 2017-02-12 00:06:35 +01:00
fopen_wrappers.c Move cwd_state and path related routines to size_t 2017-07-27 20:11:21 +02:00
fopen_wrappers.h Move cwd_state and path related routines to size_t 2017-07-27 20:11:21 +02:00
getopt.c Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
http_status_codes.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
internal_functions_win32.c Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
internal_functions.c.in Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
main.c Move cwd_state and path related routines to size_t 2017-07-27 20:11:21 +02:00
mergesort.c first shot remove TSRMLS_* things 2014-12-13 23:06:14 +01:00
network.c Merge branch 'PHP-7.1' 2017-05-28 08:51:41 -07:00
output.c Use request heap. 2017-06-21 11:25:05 +03:00
php_compat.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
php_content_types.c Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
php_content_types.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
php_getopt.h Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
php_globals.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
php_ini.c remove casts and ensure no out of bounds access 2017-07-21 22:26:37 +02:00
php_ini.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
php_main.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
php_memory_streams.h Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
php_network.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
php_open_temporary_file.c Move cwd_state and path related routines to size_t 2017-07-27 20:11:21 +02:00
php_open_temporary_file.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
php_output.h Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
php_reentrancy.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
php_scandir.c Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
php_scandir.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
php_sprintf.c Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
php_stdint.h Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
php_streams.h Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
php_syslog.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
php_ticks.c Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
php_ticks.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
php_variables.c Avoid useless duplication 2017-06-21 12:57:24 +03:00
php_variables.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
php_version.h bump versions 2017-07-18 17:21:19 +01:00
php.h Remove old references to SAPIs and extensions no longer in the core 2017-07-19 09:09:24 +02:00
reentrancy.c Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
rfc1867.c Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
rfc1867.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
SAPI.c remove useless cast 2017-07-09 15:15:17 +02:00
SAPI.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
snprintf.c Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
snprintf.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
spprintf.c Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
spprintf.h sync vim mode lines in main 2017-07-09 15:07:23 +02:00
strlcat.c use extra flag to turn on php implementations 2017-03-19 23:19:31 +01:00
strlcpy.c use extra flag to turn on php implementations 2017-03-19 23:19:31 +01:00