Skip to content

Load the library (and its dependencies) from its path rather than potentially the applications#4

Open
ramon-juicelabs wants to merge 1 commit intomaster-juicefrom
vulkan-loader-load-absolute
Open

Load the library (and its dependencies) from its path rather than potentially the applications#4
ramon-juicelabs wants to merge 1 commit intomaster-juicefrom
vulkan-loader-load-absolute

Conversation

@ramon-juicelabs
Copy link
Copy Markdown

When loading the ICD its dependencies will use the standard search path which uses the applications path first which means the incorrect (or even malicious) modules could be loaded. This change restricts it by using the modules path. This will fall back to the original logic which may be problematic but left for compatibility.

…entially the applications

When loading the ICD its dependencies will use the standard search path which uses the applications path first which means the incorrect (or even malicious) modules could be loaded. This change restricts it by using the modules path. This will fall back to the original logic when paths are not absolute.
@ramon-juicelabs ramon-juicelabs force-pushed the vulkan-loader-load-absolute branch from 18c0461 to a043f74 Compare December 14, 2023 08:42
@ramon-juicelabs ramon-juicelabs marked this pull request as ready for review December 14, 2023 08:43
Copy link
Copy Markdown

@canadacow canadacow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I trust you @ramon-juicelabs

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.

3 participants