mirror of
https://github.com/php/php-src.git
synced 2026-04-23 07:58:20 +02:00
Fixed bug #71397 (mb_send_mail segmentation fault)
This commit is contained in:
@@ -4145,7 +4145,7 @@ PHP_FUNCTION(mb_send_mail)
|
||||
suppressed_hdrs.cnt_type = 1;
|
||||
}
|
||||
|
||||
if ((s = zend_hash_str_find_ptr(&ht_headers, "CONTENT-TRANSFER-ENCODING", sizeof("CONTENT-TRANSFER-ENCODING") - 1))) {
|
||||
if ((s = zend_hash_str_find(&ht_headers, "CONTENT-TRANSFER-ENCODING", sizeof("CONTENT-TRANSFER-ENCODING") - 1))) {
|
||||
enum mbfl_no_encoding _body_enc;
|
||||
|
||||
_body_enc = mbfl_name2no_encoding(Z_STRVAL_P(s));
|
||||
|
||||
Reference in New Issue
Block a user