We are using NuGet package. But our security audit check complains about opencv_videoio_ffmpegxxx.dll that it is compiled without security hardening flags /GS and /HIGHENTROPYVA
Here is Microsoft recommendations: https://learn.microsoft.com/en-us/cpp/build/reference/gs-buffer-security-check, https://learn.microsoft.com/en-us/cpp/build/reference/highentropyva-support-64-bit-aslr
I see there is ENABLE_BUILD_HARDENING option in opencv CMakeLists.txt (https://github.com/opencv/opencv/blob/d719c6d84a6139e07e81abd3814a3c23756f63eb/CMakeLists.txt#L534)
Is there any way these switches can be enabled for the NuGet build?
We are using NuGet package. But our security audit check complains about opencv_videoio_ffmpegxxx.dll that it is compiled without security hardening flags /GS and /HIGHENTROPYVA
Here is Microsoft recommendations: https://learn.microsoft.com/en-us/cpp/build/reference/gs-buffer-security-check, https://learn.microsoft.com/en-us/cpp/build/reference/highentropyva-support-64-bit-aslr
I see there is ENABLE_BUILD_HARDENING option in opencv CMakeLists.txt (https://github.com/opencv/opencv/blob/d719c6d84a6139e07e81abd3814a3c23756f63eb/CMakeLists.txt#L534)
Is there any way these switches can be enabled for the NuGet build?