History log of /PHP-8.2/ext/standard/dns.c (Results 1 – 25 of 258)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 6f2f228e 02-Sep-2022 Máté Kocsis

Declare ext/standard constants in stubs - part 5

Closes GH-9466

# 9f06bb3b 23-May-2022 George Peter Banyard

Drop remaining usage of u_char in favour of standard C99 uint8_t (#8611)

Plus minor drive-by fixes

# 926407f2 13-May-2022 George Peter Banyard

Fix some MSAN complaints under Clang (#8553)

# 5171cb43 20-May-2020 George Peter Banyard

Fix [-Wundef] warnings in standard extension

# 7daf0125 10-Dec-2021 Christoph M. Becker

Fix GH-7748: gethostbyaddr outputs binary string

`getnameinfo(3)` returns zero on success; all other values need to be
regarded as failure.

# 822047fb 15-Nov-2021 Nikita Popov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix bug #81618: Correct dns_get_record on FreeBSD


# 4a265632 15-Nov-2021 Nikita Popov

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix bug #81618: Correct dns_get_record on FreeBSD


# 45f52285 14-Nov-2021 Matt

Fix bug #81618: Correct dns_get_record on FreeBSD

Modify dns_get_record to test for records result based on dns_errno to
accommodate modern FreeBSD, for which res_nsearch() does not upda

Fix bug #81618: Correct dns_get_record on FreeBSD

Modify dns_get_record to test for records result based on dns_errno to
accommodate modern FreeBSD, for which res_nsearch() does not update
h_errno directly. Add new php_dns_errno macro, and have it consult
statp->res_h_errno when OS has res_nsearch().

Closes GH-7655.

show more ...

# 425e70c1 09-Nov-2021 Nikita Popov

Fix bug #81441

Zero-initialize the sa4/sa6 structures. On musl sin6_scope_id is
used by getnameinfo() without NI_NUMERICHOST flag. In the interest
of being conservative simply zero o

Fix bug #81441

Zero-initialize the sa4/sa6 structures. On musl sin6_scope_id is
used by getnameinfo() without NI_NUMERICHOST flag. In the interest
of being conservative simply zero out everything.

show more ...

# e836143a 10-Aug-2021 David CARLIER

Fix dns resolv linkage issue on haiku (#7350)

# aff36587 29-Jun-2021 Patrick Allaert

Fixed some spaces used instead of tabs

# 99d67d12 06-May-2021 Remi Collet

use getnameinfo instead of gethostbyaddr

# f9547f2b 05-May-2021 Remi Collet

get rid of inet_aton and inet_ntoa use inet_ntop iand inet_pton where available standardize buffer size

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

# 09efad61 08-Apr-2021 George Peter Banyard

Use zend_string_equals_(literal_)ci() API more often

Also drive-by usage of zend_ini_parse_bool()

Closes GH-6844

# 5caaf40b 29-Sep-2020 George Peter Banyard

Introduce pseudo-keyword ZEND_FALLTHROUGH

And use it instead of comments

# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...

# 7daf2d86 03-Jan-2021 Stanislav Malyshev

Fix bug #79405 - gethostbyname() silently truncates after a null byte

# 87686211 03-Jan-2021 Stanislav Malyshev

Fix bug #79405 - gethostbyname() silently truncates after a null byte

# 4a438b44 03-Sep-2020 George Peter Banyard

Warning to Error promotion in ext/standard

Those should be the last ones other than set(raw)cookie()

Closes GH-5814

# 7e871734 10-Aug-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Check the correct list


# 81e31eff 10-Aug-2020 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Check the correct list


# 4723bd4f 10-Aug-2020 Nikita Popov

Check the correct list

This was supposed to check mx_list, not weight_list... oops.

# 59fbdf73 10-Aug-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix bug #79944


# 5b8b480d 10-Aug-2020 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix bug #79944


1234567891011