mirror of https://git.musl-libc.org/git/musl
Browse Source
In __res_msend_rc(), the IPv6-disabled fallback check uses conf->ns[nns] inside a loop controlled by i, so it tests a fixed slot instead of walking configured nameservers. This reads one past the array's size. Use conf->ns[i] so the loop correctly detects whether all configured nameservers are IPv6-only.master
committed by
Rich Felker
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue