]> granicus.if.org Git - php/commit
Fix potential segfault in dns_get_record()
authorSara Golemon <pollita@php.net>
Tue, 10 Jun 2014 18:18:02 +0000 (11:18 -0700)
committerSara Golemon <pollita@php.net>
Wed, 11 Jun 2014 20:37:04 +0000 (13:37 -0700)
commit4f73394fdd95d3165b4391e1b0dedd57fced8c3b
treed86948858323148770aeef8e0ffd2f664f6f0109
parent317bcb96d01a1dade28f2875bdd9bbbf73a40160
Fix potential segfault in dns_get_record()

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.
ext/standard/dns.c