Blame bind95-rh461409.patch
|
Adam Tkac |
77020b |
diff -up bind-9.5.1b1/bin/dig/dighost.c.rh461409 bind-9.5.1b1/bin/dig/dighost.c
|
|
Adam Tkac |
77020b |
--- bind-9.5.1b1/bin/dig/dighost.c.rh461409 2008-09-16 14:04:03.000000000 +0200
|
|
Adam Tkac |
77020b |
+++ bind-9.5.1b1/bin/dig/dighost.c 2008-09-16 14:06:06.000000000 +0200
|
|
Adam Tkac |
77020b |
@@ -3665,6 +3665,15 @@ output_filter (isc_buffer_t *buffer, uns
|
|
Adam Tkac |
77020b |
(void) strcpy (tmp1, tmp2);
|
|
Adam Tkac |
77020b |
free (tmp2);
|
|
Adam Tkac |
77020b |
|
|
Adam Tkac |
77020b |
+ tmp2 = stringprep_utf8_to_locale (tmp1);
|
|
Adam Tkac |
77020b |
+ if (tmp2 == NULL) {
|
|
Adam Tkac |
77020b |
+ debug ("output_filter: stringprep_utf8_to_locale failed");
|
|
Adam Tkac |
77020b |
+ return ISC_R_SUCCESS;
|
|
Adam Tkac |
77020b |
+ }
|
|
Adam Tkac |
77020b |
+
|
|
Adam Tkac |
77020b |
+ (void) strcpy (tmp1, tmp2);
|
|
Adam Tkac |
77020b |
+ free (tmp2);
|
|
Adam Tkac |
77020b |
+
|
|
Adam Tkac |
77020b |
tolen = strlen (tmp1);
|
|
Adam Tkac |
77020b |
if (absolute && !end_with_dot && tmp1[tolen - 1] == '.')
|
|
Adam Tkac |
77020b |
tolen--;
|