PHP 7.4.4 發布

PHP 是一種廣泛使用的通用腳本語言,特別適合於 Web 開發,並且可以嵌入 HTML 中。

PHP 7.4.4 版本現已發布,具體更新內容如下:

  • Core

    • 修復了錯誤 #79329(get_headers() 在一個空字節後默默地截斷)(CVE-2020-7066)

    • 修復了錯誤 #79244 (PHP 在解析 INI 文件時崩潰)

    • 修復了錯誤 #63206(restore_error_handler無法還原以前的錯誤掩碼)

  • COM

    • 修復了錯誤 #66322(COMPersistHelper::SaveToFile 保存到錯誤的位置)

    • 修復了錯誤 #79242(COM錯誤常量與x86上的com_exception代碼不匹配)

    • 修復了錯誤 #79247(Garbage 收集變量對象段錯誤)

    • 修復了錯誤 #79248(Traversing empty VT_ARRAY 引發 com_exception)

    • 修復了錯誤 #79299(com_print_typeinfo 打印重復的變量)

    • 修復了錯誤 #79332(php_istreams 永遠不會 freed)

    • 修復了錯誤 #79333(com_print_typeinfo() 泄露記憶體)

  • CURL

    • 修復了錯誤 #79019(復制的 cURL handles 上載空文件)

    • 修復了錯誤 #79013 (在使用 curl posting curlFile 時,Content-Length missing)

  • DOM

    • 修復了錯誤 #77569(DomImplementation 中的 Write Access Violation)

    • 修復了錯誤 #79271(DOMDocumentType::$childNodes 為 NULL)

  • Enchant

    • 修復了錯誤 #79311(enchant_dict_suggest() 在大端架構上失敗)

  • EXIF

    • 修復了錯誤 #79282 (Use-of-uninitialized-value in exif)(CVE-2020-7064)

  • Fileinfo

    • 修復了錯誤 #79283(libmagic 修正檔中的 Segfault 包含緩沖區溢出)

  • ……

更多詳細內容可查看更新說明:

 https://www.php.net/ChangeLog-7.php#PHP_7_4

來源:cnBeta