-
Notifications
You must be signed in to change notification settings - Fork 5k
Revert "Don't use incompatible LOAD_LIBRARY_SEARCH flags when using LOAD_WITH_ALTERED_SEARCH_PATH" #114592
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
Conversation
…OAD_WITH…" This reverts commit 15d227c.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 6 out of 9 changed files in this pull request and generated no comments.
Files not reviewed (3)
- src/tests/Interop/CMakeLists.txt: Language not supported
- src/tests/Interop/DllImportSearchPaths/DllImportSearchPathsTest.csproj: Language not supported
- src/tests/Interop/DllImportSearchPaths/NativeLibraryWithDependency/CMakeLists.txt: Language not supported
Comments suppressed due to low confidence (3)
src/coreclr/vm/nativelibrary.cpp:478
- Removal of the assertion checking that the path is not relative may allow unintended relative path usage. Please verify that path validation is performed elsewhere to avoid potential loading issues.
_ASSERTE(!Path::IsRelative(path));
src/tests/Interop/DllImportSearchPaths/DllImportSearchPathsTest.cs:67
- The test method 'AssemblyDirectory_SearchFlags_WithDependency_Found' has been removed, which might reduce test coverage for dependency loading via the assembly directory. Consider ensuring equivalent coverage exists or reintroducing a minimal test.
[ConditionalFact(nameof(CanLoadAssemblyInSubdirectory))]
src/mono/mono/metadata/native-library.c:355
- Reverting the flag adjustment by removing the call to add_load_with_altered_search_path_flags may impact the handling of search flags on Windows. Please confirm that the new flag logic correctly supports all expected behaviors.
module = netcore_probe_for_module_variations (mdirname, file_name, lflags, error);
Tagging subscribers to this area: @dotnet/interop-contrib |
…LOAD_WITH…" (dotnet#114592) This reverts commit 8f313fd.
Reverts #111990