summaryrefslogtreecommitdiff
path: root/ext/standard/dns.c
Commit message (Collapse)AuthorAgeFilesLines
* s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
|
* 's' works with size_t round 4Anatol Belski2014-08-271-1/+1
|
* first show to make 's' work with size_tAnatol Belski2014-08-271-5/+5
|
* master renames phase 1Anatol Belski2014-08-251-34/+34
|
* Merge remote-tracking branch 'php/master'Anatol Belski2014-08-191-24/+60
|\ | | | | | | | | Conflicts: ext/standard/dns.c
| * fix merge issue in previous (again)Remi Collet2014-08-191-1/+2
| |
| * fix merge issue in previousRemi Collet2014-08-191-1/+1
| |
| * fix merge for #67717Remi Collet2014-08-191-23/+58
| |\
| | * Fixed Sec Bug #67717 segfault in dns_get_record CVE-2014-3597Remi Collet2014-08-191-24/+60
| | | | | | | | | | | | | | | | | | | | | | | | Incomplete fix for CVE-2014-4049 Check possible buffer overflow - pass real buffer end to dn_expand calls - check buffer len before each read
* | | fix macros in the 5 basic extensionsAnatol Belski2014-08-161-29/+29
|/ /
* | Merge branch 'master' into phpngDmitry Stogov2014-06-121-0/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (77 commits) NEWS entry for Fix potential segfault in dns_get_record() NEWS entry for "Fix potential segfault in dns_get_record()" NEWS entry for Fix potential segfault in dns_get_record( Fix potential segfault in dns_get_record() Revert "Add optional second arg to unserialize()" 5.5.15 now update NEWS Fix bug #66127 (Segmentation fault with ArrayObject unset) 5.4.31 next Add NEWS. This doesn't need UPGRADING (or an RFC), IMO. Fix broken test. Add a mime type map generation script and update the header. Move the mime type map out of php_cli_server.c for easier generation. Replace the CLI server's linear search for extensions with a hash table. fix test Remove unused included file NEWS NEWS NEWS Fixed Bug #67413 fileinfo: cdf_read_property_info insufficient boundary chec ... Conflicts: Zend/zend_closures.c Zend/zend_execute.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/spl/spl_array.c ext/standard/basic_functions.c ext/standard/dns.c ext/standard/var.c
| * Fix potential segfault in dns_get_record()Sara Golemon2014-06-111-0/+4
| | | | | | | | | | | | If the remote sends us a packet with a malformed TXT record, we could end up trying to over-consume the packet and wander off into overruns.
| * Bump yearXinchen Hui2014-01-031-1/+1
| |
| * Merge branch 'PHP-5.3' into PHP-5.4Stanislav Malyshev2013-04-231-1/+1
| |\ | | | | | | | | | | | | * PHP-5.3: Fix bug #64458 (dns_get_record result with string of length -1)
* | | Use reference counting instead of zval duplicationDmitry Stogov2014-06-051-3/+1
| | |
* | | Reduced memory realocationsDmitry Stogov2014-04-151-6/+6
| | |
* | | Cleanup (1-st round)Dmitry Stogov2014-04-151-33/+35
| | |
* | | Fixed reference arguments handlingXinchen Hui2014-03-031-0/+2
| | |
* | | Refactor gethostbyname to returing zend_stringXinchen Hui2014-03-031-16/+13
| | |
* | | Use better data structures (incomplete)Dmitry Stogov2014-02-131-66/+66
| | |
* | | Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | Merge branch 'PHP-5.3' into PHP-5.4Stanislav Malyshev2013-04-231-1/+1
|\ \ \ | |/ / |/| / | |/ | | * PHP-5.3: Fix bug #64458 (dns_get_record result with string of length -1)
| * Fix bug #64458 (dns_get_record result with string of length -1)Stanislav Malyshev2013-04-231-1/+1
| |
| * Happy New Year~Xinchen Hui2013-01-011-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * Use HOST_NAME_MAX constant here instead for the gethostname() funcRasmus Lerdorf2011-08-101-1/+7
| |
| * Fix win32 buildIlia Alshanetsky2011-08-101-0/+4
| |
| * Minimize stack usage and added missing dtorsIlia Alshanetsky2011-08-091-2/+4
| |
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * - Removed redundant local variable in dns_get_record.Gustavo André dos Santos Lopes2010-10-111-4/+2
| | | | | | | | | | | | - (5.3) Fixed bug in the Windows implementation of dns_get_record, where the two last parameters wouldn't be filled unless the type were DNS_ANY (Gustavo).
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | Use HOST_NAME_MAX constant here instead for the gethostname() funcRasmus Lerdorf2011-08-101-1/+7
| |
* | Fix win32 buildIlia Alshanetsky2011-08-101-0/+4
| |
* | Minimize stack usage and added missing dtorsIlia Alshanetsky2011-08-091-2/+4
| |
* | - Year++Felipe Pena2011-01-011-1/+1
| |
* | - Removed redundant local variable in dns_get_record.Gustavo André dos Santos Lopes2010-10-111-4/+2
| | | | | | | | | | | | - (5.3) Fixed bug in the Windows implementation of dns_get_record, where the two last parameters wouldn't be filled unless the type were DNS_ANY (Gustavo).
* | - [DOC] Added a 5th parameter to dns_get_record, a boolean that tells ↵Gustavo André dos Santos Lopes2010-10-111-21/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | whether to activate "raw mode". In this mide, $type (2nd parameter) is the numeric type of the record, and the responses are not parsed -- the "type" element will be numeric and there will be a "data" element with the raw data of the response buffer, which the programmer will have to parse. - Fixed bug in the Win32 implementation of dns_get_record, where the 3rd and 4th arguments would only be filled if the 2nd ($type) was DNS_ANY. - [DOC] The 3rd and 4th parameters can now be NULL (changed their arginfo).
* | - Added numeric record type and raw data for unknown DNSGustavo André dos Santos Lopes2010-10-081-1/+9
|/ | | | record types.
* sed -i "s#1997-2008#1997-2010#g" **/*.c **/*.hSebastian Bergmann2010-01-071-1/+1
|
* - Tune the fix for bug #50508 and make it work with MacOSX, bug #50541.Jani Taskinen2009-12-211-0/+3
|
* - Fixed bug #50508 (compile fails: Conflicting HEADER type declarations)Jani Taskinen2009-12-181-3/+0
| | | | | # NEVER ever include nameser_compat.h, it's included in various ways in different OSes by nameser.h if needed
* Part fix for bug #49224Scott MacVicar2009-10-161-7/+1
|
* Merge chanes from head to improve DNS on OSX and allow usage of bind9 stuff ↵Scott MacVicar2009-08-111-101/+160
| | | | with the bind8 compatibility layer.
* Change dns.h to php_dns.h, part of my dns cleanupScott MacVicar2009-08-051-1/+1
|
* - Sync with HEAD (thanks Hannes :)Jani Taskinen2009-05-201-2/+1
|
* MFH: Fix non-windows buildsJani Taskinen2009-05-201-2/+3
|
* MFH: Fix Windows build, dns_get_record is defined in dns_win32.c, not hereKalle Sommer Nielsen2009-05-201-1/+1
|
* MFH: Unify macrosJani Taskinen2009-05-191-3/+2
|
* - Reverted my previous commit to avoid unnecessary BC.Felipe Pena2009-01-121-11/+8
| | | | | [DOC] Added new entry to the array returned by dns_get_record(), 'entries', which contains the separated value from TXT value. (so 'txt' kept the concatenated version) (Pierre)