summaryrefslogtreecommitdiff
path: root/src/network/getifaddrs.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-02 17:08:43 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-02 17:08:43 -0400
commit64466094ede4162ddd4049cea5da09feb9abfaa6 (patch)
tree5ea27fa33205dadfc2ede53a7e6bff3611f9abd0 /src/network/getifaddrs.c
parentd0d212525ec7d08a4770fba97aa913ea34cafdb2 (diff)
downloadmusl-64466094ede4162ddd4049cea5da09feb9abfaa6.tar.gz
musl-64466094ede4162ddd4049cea5da09feb9abfaa6.tar.bz2
musl-64466094ede4162ddd4049cea5da09feb9abfaa6.tar.xz
musl-64466094ede4162ddd4049cea5da09feb9abfaa6.zip
fix stack-based oob memory clobber in resolver's result sorting
commit 4f35eb7591031a1e5ef9828f9304361f282f28b9 introduced this bug. it is not present in any released versions. inadvertent use of the & operator on an array into which we're indexing produced arithmetic on the wrong-type pointer, with undefined behavior.
Diffstat (limited to 'src/network/getifaddrs.c')
0 files changed, 0 insertions, 0 deletions