-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Corrected the check to enable SSE2 when building with Visual Studio. #1216
Merged
cary-ilm
merged 1 commit into
AcademySoftwareFoundation:master
from
dlemstra:fix-sse-check
Jan 14, 2022
Merged
Corrected the check to enable SSE2 when building with Visual Studio. #1216
cary-ilm
merged 1 commit into
AcademySoftwareFoundation:master
from
dlemstra:fix-sse-check
Jan 14, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Dirk Lemstra <dirk@lemstra.org>
lgritz
approved these changes
Jan 8, 2022
meshula
approved these changes
Jan 9, 2022
cary-ilm
pushed a commit
to cary-ilm/openexr
that referenced
this pull request
Jan 19, 2022
…cademySoftwareFoundation#1216) Signed-off-by: Dirk Lemstra <dirk@lemstra.org>
cary-ilm
pushed a commit
to cary-ilm/openexr
that referenced
this pull request
Jan 21, 2022
…cademySoftwareFoundation#1216) Signed-off-by: Dirk Lemstra <dirk@lemstra.org>
cary-ilm
pushed a commit
that referenced
this pull request
Jan 23, 2022
…1216) Signed-off-by: Dirk Lemstra <dirk@lemstra.org>
netbsd-srcmastr
pushed a commit
to NetBSD/pkgsrc
that referenced
this pull request
Feb 2, 2022
## Version 3.1.4 (January 26, 2022) Patch release that addresses various issues: * Several bug fixes to properly reject invalid input upon read * A check to enable SSE2 when building with Visual Studio * A check to fix building with VisualStudio on ARM64 * Update the automatically-downloaded version of Imath to v3.1.4 * Miscellaneous documentation improvements This addresses one public security vulnerability: * [CVE-2021-45942](https://nvd.nist.gov/vuln/detail/CVE-2021-45942) Heap-buffer-overflow in Imf_3_1::LineCompositeTask::execute Specific OSS-fuzz issues: * OSS-fuzz [43961](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43961) Heap-buffer-overflow in generic_unpack * OSS-fuzz [43916](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43916) Heap-buffer-overflow in hufDecode * OSS-fuzz [43763](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43763) Heap-buffer-overflow in internal_huf_decompress * OSS-fuzz [43745](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43745) Floating-point-exception in internal_exr_compute_tile_information * OSS-fuzz [43744](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43744) Divide-by-zero in internal_exr_compute_tile_information * OSS-fuzz [42197](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42197) Out-of-memory in openexr_exrcheck_fuzzer * OSS-fuzz [42001](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42001) Timeout in openexr_exrcheck_fuzzer * OSS-fuzz [41999](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41999) Heap-buffer-overflow in Imf_3_1::LineCompositeTask::execute * OSS-fuzz [41669](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41669) Integer-overflow in Imf_3_1::rleUncompress * OSS-fuzz [41625](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41625) Heap-buffer-overflow in uncompress_b44_impl * OSS-fuzz [41416](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41416) Heap-buffer-overflow in Imf_3_1::LineCompositeTask::execute * OSS-fuzz [41075](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41075) Integer-overflow in Imf_3_1::copyIntoDeepFrameBuffer * OSS-fuzz [40704](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40704) Crash in Imf_3_1::DeepTiledInputFile::readPixelSampleCounts * OSS-fuzz [40702](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40702) Null-dereference in bool Imf_3_1::readDeepTile<Imf_3_1::DeepTiledInputFile> * OSS-fuzz [40701](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40701) Null-dereference in bool Imf_3_1::readDeepTile<Imf_3_1::DeepTiledInputPart> * OSS-fuzz [40423](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40423) Out-of-memory in openexr_exrcheck_fuzzer * OSS-fuzz [40234](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40234) Heap-buffer-overflow in generic_unpack * OSS-fuzz [40231](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40231) Heap-buffer-overflow in hufDecode * OSS-fuzz [40091](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40091) Heap-buffer-overflow in hufDecode Merged Pull Requests: * [1225](AcademySoftwareFoundation/openexr#1225) Bazel build: Update Imath * [1224](AcademySoftwareFoundation/openexr#1224) Add error check to prevent corrupt files trying to unpack * [1223](AcademySoftwareFoundation/openexr#1223) Fix issues with a a "short" huf table and checking boundary conditions, missing return value * [1222](AcademySoftwareFoundation/openexr#1222) Fix OSS Fuzz 43763, 43745 * [1218](AcademySoftwareFoundation/openexr#1218) OSS-Fuzz pass 15jan2022 * [1217](AcademySoftwareFoundation/openexr#1217) Added missing check _M_IX86 or _M_X64 when using __lzcnt. * [1216](AcademySoftwareFoundation/openexr#1216) Corrected the check to enable SSE2 when building with Visual Studio. * [1214](AcademySoftwareFoundation/openexr#1214) prevent overflow in allocation of RLE buufer * [1213](AcademySoftwareFoundation/openexr#1213) add check for decompressed deepscanline datasize * [1209](AcademySoftwareFoundation/openexr#1209) enforce xSampling/ySampling==1 in CompositeDeepScanLine * [1208](AcademySoftwareFoundation/openexr#1208) Reduce memory consumption with very large deepscanline images * [1206](AcademySoftwareFoundation/openexr#1206) Update INSTALL.md * [1205](AcademySoftwareFoundation/openexr#1205) DeepScanlineInputFile now uses chunk size test from DeepTiledInputFile * [1200](AcademySoftwareFoundation/openexr#1200) Corrected Deep Docs & Example Code * [1199](AcademySoftwareFoundation/openexr#1199) Fix C++ DeepTile reading in Imf::CheckFile * [1195](AcademySoftwareFoundation/openexr#1195) Fix bugs in ImfCheckFile.cpp:readDeepTile() * [1193](AcademySoftwareFoundation/openexr#1193) mention multipart files in multiview doc * [1191](AcademySoftwareFoundation/openexr#1191) Replace Doxygen/Sphinx targets with "docs" * [1190](AcademySoftwareFoundation/openexr#1190) Add Compression section to "Reading and Writing Image Files" doc * [1189](AcademySoftwareFoundation/openexr#1189) Fix typo in readthedocs url
leha-bot
added a commit
to leha-bot/vcpkg
that referenced
this pull request
Aug 24, 2022
See upstream fix for details in AcademySoftwareFoundation/openexr#1216: AcademySoftwareFoundation/openexr#1216
JavierMatosD
pushed a commit
to microsoft/vcpkg
that referenced
this pull request
Aug 31, 2022
* openexr: Bump to 2.5.8 The x-add-version and patch fixes will be in next commits. * openexr: vcpkg.json: Use "version" instead of "version-string" * openexr: vcpkg.json: Add SPDX license identifier * openexr: Clean 0001*-find_package patch As upstream has cleaned it up already. * openexr: Clean 0002-fixup_cmake_exports** patch from old whitespace fix The upstream was already fixed it. * openexr: Drop symlinks and find-pkg patches as it were handled at upstream * openexr: Fix ARM build See upstream fix for details in AcademySoftwareFoundation/openexr#1216: AcademySoftwareFoundation/openexr#1216 * openexr: Migrate the old function to new vcpkg-cmake-config helpers * openexr/portfile: Add comment about version for commit revision * openexr: Update baseline via `vcpkg x-add-version openexr'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull requests corrects the check to enable SSE2 when building with Visual Studio. The
emmintrin.h
header file has a check to only allows_M_IX86
or_M_X64
. When building on ARM64 the define will be_M_ARM64
instead and this project will fail to build.I have removed the
_M_CEE_PURE
check because this is deprecated since Visual Studio 2015 and I wonder if this is still required.