Fix assertion failures in resolver (BZ #13013).
commitcc8bb21c8ad619148c022af6e39ca8a5086a6a88
authorAurelien Jarno <aurel32@debian.org>
Fri, 30 Nov 2012 20:04:27 +0000 (30 15:04 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Nov 2012 20:04:27 +0000 (30 15:04 -0500)
treef3410b5396aad70d5fcc55913c8781c8abfb5581
parentb062e14ff3df0942d21c8904e3fca87fac25b85b
Fix assertion failures in resolver (BZ #13013).

[BZ #13013]
* resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
depending n and resplen2 to catch cases where answer
equals answerp2.
ChangeLog
NEWS
resolv/res_query.c