25912eaa88
- Fix typo in recent tzfile change (#769476) - Make MALLOC_ARENA_MAX and MALLOC_ARENA_TEST match documentation (#740506) - Revert "fix" to pthread_cond_wait (#769421) - Extract patch for 730856 from fedora-patch into a distinct patchfile
17 lines
548 B
Diff
17 lines
548 B
Diff
2011-09-01 Andreas Schwab <schwab@redhat.com>
|
|
|
|
* resolv/res_query.c (__libc_res_nquery): Update assertion.
|
|
|
|
diff -ru a/resolv/res_query.c b/resolv/res_query.c
|
|
--- a/resolv/res_query.c 2011-12-12 14:10:52.000000000 -0700
|
|
+++ b/resolv/res_query.c 2011-12-12 14:23:04.832739111 -0700
|
|
@@ -248,7 +248,7 @@
|
|
&& *resplen2 > (int) sizeof (HEADER))
|
|
{
|
|
/* Special case of partial answer. */
|
|
- assert (hp != hp2);
|
|
+ assert (n == 0 || hp != hp2);
|
|
hp = hp2;
|
|
}
|
|
else if (answerp2 != NULL && *resplen2 < (int) sizeof (HEADER)
|