* PHP-7.3:
Fix #77367: Negative size parameter in mb_split
Fix #77369 - memcpy with negative length via crafted DNS response
Fix more issues with encodilng length
Fix #77270: imagecolormatch Out Of Bounds Write on Heap
Fix bug #77380 (Global out of bounds read in xmlrpc base64 code)
Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)
Fix bug #77370 - check that we do not read past buffer end when parsing multibytes
Fix #77269: Potential unsigned underflow in gdImageScale
Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)
Fix bug #77242 (heap out of bounds read in xmlrpc_decode())
Regenerate certs for openssl tests
GETLONG(ttl, cp);
GETSHORT(dlen, cp);
CHECKCP(dlen);
- if (type_to_fetch != DNS_T_ANY && type != type_to_fetch) {
- if (dlen == 0) {
- /* No data in the response - nothing to do */
- return NULL;
- }
- if (type_to_fetch != T_ANY && type != type_to_fetch) {
++ if (dlen == 0) {
++ /* No data in the response - nothing to do */
++ return NULL;
++ }
++ if (type_to_fetch != DNS_T_ANY && type != type_to_fetch) {
cp += dlen;
return cp;
}