CVE-2023-6004: misc: Add ipv6 link-local check for an ip address

Signed-off-by: Norbert Pocs <norbertpocs0@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Norbert Pocs
2023-11-28 15:26:45 +01:00
committed by Andreas Schneider
parent 92e35c291c
commit 2c92e8ce93
3 changed files with 41 additions and 8 deletions

View File

@@ -85,11 +85,12 @@ if (MINGW AND Threads_FOUND)
)
endif()
# This needs to be last for mingw to build
# The ws2_32 needs to be last for mingw to build
# https://gitlab.com/libssh/libssh-mirror/-/issues/84
if (WIN32)
set(LIBSSH_LINK_LIBRARIES
${LIBSSH_LINK_LIBRARIES}
iphlpapi
ws2_32
)
endif (WIN32)