diff options
author | Rich Felker <dalias@aerifal.cx> | 2022-09-19 15:51:04 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2022-09-19 15:51:04 -0400 |
commit | 1e7fb12f775a3e599be08da9835422d96c56f479 (patch) | |
tree | 4ab7c80ac81d06682fabe8a58d8673ffbc665542 /crt/crti.c | |
parent | 001c1afb0a08912a6fdc7c462c53e221de4bc9f1 (diff) | |
download | musl-1e7fb12f775a3e599be08da9835422d96c56f479.tar.gz musl-1e7fb12f775a3e599be08da9835422d96c56f479.tar.bz2 musl-1e7fb12f775a3e599be08da9835422d96c56f479.tar.xz musl-1e7fb12f775a3e599be08da9835422d96c56f479.zip |
dns: treat names rejected by res_mkquery as nonexistent rather than error
this distinction only affects search, but allows search to continue
when concatenating one of the search domains onto the requested name
produces a result that's not valid. this can happen when the
concatenation is too long, or one of the search list entries is
itself not valid.
as a consequence of this change, having "." in the search domains list
will now be ignored/skipped rather than making the lookup abort with
no results (due to producing a concatenation ending in ".."). this
behavior could be changed later if needed.
Diffstat (limited to 'crt/crti.c')
0 files changed, 0 insertions, 0 deletions