diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-02-20 17:51:22 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-02-20 17:51:22 -0500 |
commit | 224d938c5e538ac37f84c6e9a01bd2095aa7081a (patch) | |
tree | c504ba01a156b537be6d61b2312386f33fcf8041 /include/sys/mount.h | |
parent | 9d44b6460ab603487dab4d916342d9ba4467e6b9 (diff) | |
download | musl-224d938c5e538ac37f84c6e9a01bd2095aa7081a.tar.gz musl-224d938c5e538ac37f84c6e9a01bd2095aa7081a.tar.bz2 musl-224d938c5e538ac37f84c6e9a01bd2095aa7081a.tar.xz musl-224d938c5e538ac37f84c6e9a01bd2095aa7081a.zip |
fix invalid free of partial addrinfo list with multiple services
the backindex stored by getaddrinfo to allow freeaddrinfo to perform
partial-free wrongly used the address result index, rather than the
output slot index, and thus was only valid when they were equal
(nservs==1).
patch based on report with proposed fix by Markus Wichmann.
Diffstat (limited to 'include/sys/mount.h')
0 files changed, 0 insertions, 0 deletions