com php-src: Merge branch 'PHP-7.3' into PHP-7.4: NEWS ext/standard/dns.c

From: Date: Wed, 15 Jul 2020 13:10:40 +0000
Subject: com php-src: Merge branch 'PHP-7.3' into PHP-7.4: NEWS ext/standard/dns.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-112178@lists.php.net to get a copy of this message
Commit: 2053329b1a04cfb2b503f3ea9b19d2fdd900987e Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 15 Jul 2020 15:10:28 +0200 Parents: e8430b592f977a8aaccf13f3213ff0d987388d13 2c57378bd3725b82ac1217b636e21e3006b5ca03 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2053329b1a04cfb2b503f3ea9b19d2fdd900987e Log: Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix bug #78008: dns_check_record() always return true on Alpine Bugs: https://bugs.php.net/78008 Changed paths: MM NEWS MM ext/standard/dns.c Diff: diff --cc NEWS index 3c688cbaa3,0aa1b695b5..5f1ac6ceb2 --- a/NEWS +++ b/NEWS @@@ -37,21 -28,15 +37,23 @@@ PH - Mbstring: . Fixed bug #79787 (mb_strimwidth does not trim string). (XXiang) +- Reflection: + . Fixed bug #79487 (::getStaticProperties() ignores property modifications). + (cmb, Nikita) + . Fixed bug #69804 (::getStaticPropertyValue() throws on protected props). + (cmb, Nikita) + . Fixed bug #79820 (Use after free when type duplicated into + ReflectionProperty gets resolved). (Christopher Broadbent) + - Standard: . Fixed bug #70362 (Can't copy() large 'data://' with open_basedir). (cmb) - . Fixed bug #79817 (str_replace() does not handle INDIRECT elements). (Nikita) + . Fixed bug #78008 (dns_check_record() always return true on Alpine). + (Andy Postnikov) -?? ??? ????, PHP 7.3.20 +09 Jul 2020, PHP 7.4.8 - Core: + . Fixed bug #79595 (zend_init_fpu() alters FPU precision). (cmb, Nikita) . Fixed bug #79650 (php-win.exe 100% cpu lockup). (cmb) . Fixed bug #79668 (get_defined_functions(true) may miss functions). (cmb, Nikita) diff --cc ext/standard/dns.c index 9c0faf3cb2,705c8e4fad..3c9ce269c4 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@@ -362,13 -349,11 +362,11 @@@ static void _php_dns_free_res(struct __ Check DNS records corresponding to a given Internet host name or IP address */ PHP_FUNCTION(dns_check_record) { - #ifndef MAXPACKET - #define MAXPACKET 8192 /* max packet size used internally by BIND */ - #endif - u_char ans[MAXPACKET]; + HEADER *hp; + querybuf answer; char *hostname, *rectype = NULL; size_t hostname_len, rectype_len = 0; - int type = T_MX, i; + int type = DNS_T_MX, i; #if defined(HAVE_DNS_SEARCH) struct sockaddr_storage from; uint32_t fromsize = sizeof(from);

« previous php.cvs (#112178) next »