mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
- Fix bug #52101, dns_get_record()garbage in 'ipv6' field
This commit is contained in:
@@ -74,6 +74,8 @@ PHP NEWS
|
||||
requests (Fixes CVE-2010-0397, bug #51288). (Raphael Geissert)
|
||||
- Fixed 64-bit integer overflow in mhash_keygen_s2k(). (Clément LECIGNE, Stas)
|
||||
|
||||
- Fixed bug #52101 (dns_get_record() garbage in 'ipv6' field on Windows).
|
||||
(Pierre)
|
||||
- Fixed bug #52082 (character_set_client & character_set_connection reset after
|
||||
mysqli_change_user()). (Andrey)
|
||||
- Fixed bug #52043 (GD doesn't recognize latest libJPEG versions).
|
||||
|
||||
@@ -274,6 +274,12 @@ static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, zval **s
|
||||
}
|
||||
}
|
||||
|
||||
if (have_v6_break && in_v6_break) {
|
||||
tp[0] = ':';
|
||||
tp++;
|
||||
}
|
||||
tp[0] = '\0';
|
||||
|
||||
add_assoc_string(*subarray, "type", "AAAA", 1);
|
||||
add_assoc_string(*subarray, "ipv6", buf, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user