mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-19 23:38:53 -04:00
3697. [bug] Handle "." as a search list element when IDN support
is enabled. [RT #35133]
(cherry picked from commit d0e3216c21)
This commit is contained in:
parent
a69aab3882
commit
12962b4b54
2 changed files with 5 additions and 1 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
3697. [bug] Handle "." as a search list element when IDN support
|
||||
is enabled. [RT #35133]
|
||||
|
||||
3696. [bug] dig failed to handle AXFR style IXFR responses which
|
||||
span multiple messages. [RT #35137]
|
||||
|
||||
|
|
|
|||
|
|
@ -3998,7 +3998,8 @@ append_textname(char *name, const char *origin, size_t namesize) {
|
|||
if (namelen + 1 + originlen >= namesize)
|
||||
return idn_buffer_overflow;
|
||||
|
||||
name[namelen++] = '.';
|
||||
if (*origin != '.')
|
||||
name[namelen++] = '.';
|
||||
(void)strcpy(name + namelen, origin);
|
||||
return idn_success;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue