File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ PHP NEWS
44
44
. Fixed bug #79294 (::columnType() may fail after SQLite3Stmt::reset()). (cmb)
45
45
46
46
- Standard:
47
+ . Fixed bug #79329 (get_headers() silently truncates after a null byte).
48
+ (CVE-2020-7066) (cmb)
47
49
. Fixed bug #79254 (getenv() w/o arguments not showing changes). (cmb)
48
50
. Fixed bug #79265 (Improper injection of Host header when using fopen for
49
51
http requests). (Miguel Xavier Penha Neto)
Original file line number Diff line number Diff line change @@ -672,7 +672,7 @@ PHP_FUNCTION(get_headers)
672
672
php_stream_context * context ;
673
673
674
674
ZEND_PARSE_PARAMETERS_START (1 , 3 )
675
- Z_PARAM_STRING (url , url_len )
675
+ Z_PARAM_PATH (url , url_len )
676
676
Z_PARAM_OPTIONAL
677
677
Z_PARAM_LONG (format )
678
678
Z_PARAM_RESOURCE_EX (zcontext , 1 , 0 )
You can’t perform that action at this time.
0 commit comments