diff options
author | Quentin Rameau <quinq@fifth.space> | 2023-10-04 21:29:43 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2023-11-06 13:50:21 -0500 |
commit | 8c086e767468cc11c6d58d6a92d8511c2bd12024 (patch) | |
tree | 83656bef574fd7ca5d5b99163d0f5b996aa16e72 /src/mman/munmap.c | |
parent | 2265a4c9b0825306794eeb0812c783692313d972 (diff) | |
download | musl-8c086e767468cc11c6d58d6a92d8511c2bd12024.tar.gz musl-8c086e767468cc11c6d58d6a92d8511c2bd12024.tar.xz musl-8c086e767468cc11c6d58d6a92d8511c2bd12024.zip |
remove arbitrary limit from dns result parsing
The name resolution would abort when getting more than 63 records per request, due to what seems to be a left-over from the original code. This check was non-breaking but spurious prior to TCP fallback support, since any 512-byte packet with more than 63 records was necessarily malformed. But now, it wrongly rejects valid results. Reported by Daniel Stefanik in Alpine Linux aports issue 15320.
Diffstat (limited to 'src/mman/munmap.c')
0 files changed, 0 insertions, 0 deletions