fix pointer advancement master
authorMichael Wallner <mike@php.net>
Tue, 16 Aug 2016 12:09:54 +0000 (14:09 +0200)
committerMichael Wallner <mike@php.net>
Tue, 16 Aug 2016 12:09:54 +0000 (14:09 +0200)
php_ares.c

index a0c526bfe298b8bdefca286c6672ac17d4e7c864..1b8601915cd826bdb4aa045fc304e96924254e28 100644 (file)
@@ -811,6 +811,7 @@ local int php_ares_parse_record(const unsigned char *abuf, const int alen, const
        if (entry) {
                add_next_index_zval(result, entry);
        }
        if (entry) {
                add_next_index_zval(result, entry);
        }
+       *rptr = pointer;
        return SUCCESS;
 }
 
        return SUCCESS;
 }