Antony Dovgal
e29daf052a
fix #41795 (checkdnsrr does not support DNS_TXT type)
2007-06-26 11:03:42 +00:00
Scott MacVicar
ecab534aa8
MFB: Fixed bug #41347 (checkdnsrr() segfaults on empty hostname).
2007-05-14 14:38:29 +00:00
Marcus Boerger
20a40063c5
- avoid sprintf
2007-02-24 16:25:58 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Dmitry Stogov
c64e0f0e21
ZTS fix
2006-09-25 06:59:02 +00:00
Sara Golemon
423af2f426
PHP6 Updates and some very minor feature add in dns_get_record()
2006-09-25 02:27:24 +00:00
Dmitry Stogov
128548a5c0
Disabled autoconversion of hash keys (from string to unicode) for PHP arrays
2006-09-19 10:38:31 +00:00
Dmitry Stogov
c366cc6d1a
Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings
2006-03-02 13:12:45 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
foobar
c297b31a52
- Nuke php3 legacy
2005-12-05 22:21:12 +00:00
Antony Dovgal
a80a5b8cda
apply workaround for the leak only when GLIBC is used
2005-10-25 14:56:48 +00:00
Antony Dovgal
e90fd61a77
fix problem with garbage appearing in hostnames
2005-10-25 08:19:11 +00:00
Antony Dovgal
85e1d03261
fix #34938 (dns_get_record() doesn't resolve long hostnames and leaks)
2005-10-23 18:31:36 +00:00
Ilia Alshanetsky
6a271cc9c9
MFB51: Fixed memory leak on error.
2005-10-23 15:29:38 +00:00
Antony Dovgal
d6f6d9f840
fix possible crash in dns_get_record()
...
cleanup code a bit
(partly fixes #34938 )
2005-10-21 13:48:07 +00:00
Dmitry Stogov
8f6f97a77d
Unicode support
2005-08-23 12:53:31 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Sara Golemon
d1341b1c15
Add A6 support, fix IPv6 address parsing, and improve define compatability
2004-08-06 18:38:35 +00:00
Sara Golemon
dd28c137f6
Cleanup, minor refactor, and CS
2004-03-19 22:21:53 +00:00
Sara Golemon
75268270d6
Bug Fix #27657 : TXT records longer than MAXHOSTNAMELEN cause segfaults.
2004-03-19 21:42:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
foobar
36b255fa66
ws
2003-12-07 18:19:30 +00:00
Marko Karppinen
074ca45399
Workaround for bug #25955
...
Generalized a Darwin check in dns.c to a check for inet_pton() (kalowsky)
2003-10-24 17:09:36 +00:00
Hartmut Holzgraefe
075e66cc08
signed/unsigned compiler warning fixes
2003-09-26 08:09:56 +00:00
Sara Golemon
29664d9322
MFB: Plug leak when invalid domain name provided.
2003-09-01 22:38:40 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Sara Golemon
451cd602f6
HINFO RDATA is <label><label> not <nshort><nshort>
2003-05-06 19:51:46 +00:00
Sara Golemon
5d3a8e4ce7
Add support for SRV and NAPTR records to dns_get_record() and dns_check_record()
...
Feature Request #23407
2003-04-29 22:02:01 +00:00
Hartmut Holzgraefe
dbe4f2238c
proto fixes
2003-03-17 13:11:19 +00:00
foobar
c87c4c7bd7
Extra paranoia checks if dn_skipname/dn_expand exist or not
2003-02-24 00:09:18 +00:00
foobar
b420beba61
- Fixed bug: #22339
...
# No NEWS, this was bug introduced by Marcus a while ago..
# Not present in php4.3.x branch
2003-02-21 08:45:58 +00:00
foobar
6043ee22e8
- Fixed bug #22299 (gethostbyname() crash with non-existing domain on MacOSX)
2003-02-20 05:34:58 +00:00
Wez Furlong
0a18a9d744
A add much more useful select(2) implementation than is provided by
...
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.
This change required linking against the winsock2 library. In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default. It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.
Also, add a win32 compatible pipe test when opening a stream from a pipe. This test will only work on NT, win2k and XP platforms. Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered. I will be working on a fix for this issue for win9x.
2003-02-16 03:48:49 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Marcus Boerger
426cf8eb57
fix state-machine in cases T_AAAA is not available
2002-12-30 11:59:22 +00:00
Sara Golemon
13308b5a94
Minor clarification in meaning of bitmask constants
...
/* PHP_DNS_xx = 1<<(T_xx-1) */
T_CNAME = 5 ergo PHP_DNS_CNAME should be 0x00000010.
T_SOA = 6 ergo PHP_DNS_CNAME should be 0x00000020.
2002-12-20 18:34:56 +00:00
foobar
085f362ae3
T_AAAA is not always available.
2002-12-09 11:50:15 +00:00
Moriyoshi Koizumi
8d1b2bf8a5
Prevented return_value from being freed() twice
2002-12-08 09:54:30 +00:00
Sara Golemon
a4d6863ee5
Bug #17174 Added IPv6 (AAAA record) support to dns_check_record() also added support to dns_get_record
2002-12-08 08:14:43 +00:00
Ilia Alshanetsky
c668055159
Remove pointless checks for array_init() return values.
2002-12-05 22:28:02 +00:00
Sara Golemon
e9047df607
New function dns_get_record(): close resolver socket after use.
...
fix to internal func php_parserr(): correct bug in return state.
2002-11-23 01:09:07 +00:00
Marcus Boerger
3ca6344e57
-rename checkdnsrr to dns_check_record, keep old name as alias
...
-rename getmxrr to dns_get_mx, keep old name as alias
-added dns_get_record
@Added dns_get_record() which allows to retrieve DNS information about
@a host. (Marcus, Pollita)
2002-11-19 02:34:13 +00:00
foobar
4821b2f301
ws fixes
2002-10-18 22:08:23 +00:00
Anantha Kesari H Y
8b8f1e0590
NetWare related additions/modifications
2002-09-05 14:25:07 +00:00
Ilia Alshanetsky
7a7497e21b
Fixed the \0 check in previous patch.
2002-08-29 15:58:33 +00:00
Ilia Alshanetsky
337448322f
Fixed bug #18966
2002-08-29 15:44:00 +00:00
Marcus Boerger
149ad05b4f
php_error_docref
...
#New conversion available at: http://docref.txt.marcus-boerger.de
2002-08-24 01:19:28 +00:00
Derick Rethans
728f2de442
Unify error messages
2002-07-08 12:52:22 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Dan Kalowsky
b76eb3ae40
Making PHP compile again on MacOSX 10.1
...
# 10.1 does not have inet_pton support yet it seems so disabling it.
2001-12-27 15:42:05 +00:00