Skip to content
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

Fix unsecure loading library pointed by ENV variable #142

Merged
merged 8 commits into from Apr 22, 2024

Conversation

mk-srivastava
Copy link
Contributor

@mk-srivastava mk-srivastava commented Apr 11, 2024

For function LoadLibraryExA if lpFileName specifies a relative path with LOAD_WITH_ALTERED_SEARCH_PATH flag set, the behavior is undefined.

Changes are related to adding a check for the relative path before calling function LoadLibraryExA.

Jenkins green build: link

src/ittnotify/jitprofiling.c Outdated Show resolved Hide resolved
src/ittnotify/jitprofiling.c Outdated Show resolved Hide resolved
src/ittnotify/jitprofiling.c Outdated Show resolved Hide resolved
src/ittnotify/jitprofiling.c Outdated Show resolved Hide resolved
src/ittnotify/jitprofiling.c Outdated Show resolved Hide resolved
src/ittnotify/jitprofiling.c Outdated Show resolved Hide resolved
src/ittnotify/jitprofiling.c Outdated Show resolved Hide resolved
@eparshut eparshut changed the title VASP-30719: ITT API unsecure load library pointed by ENV variable Fix unsecure loading library pointed by ENV variable Apr 18, 2024
@eparshut eparshut merged commit e20cd60 into intel:master Apr 22, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants