Skip to content

Check the ep_cache_context and don't allow access outside the directory#19174

Merged
HectorSVC merged 7 commits intomainfrom
qnn_ctx_relative_path_check
Jan 18, 2024
Merged

Check the ep_cache_context and don't allow access outside the directory#19174
HectorSVC merged 7 commits intomainfrom
qnn_ctx_relative_path_check

Conversation

@HectorSVC
Copy link
Contributor

Description

Check the ep_cache_context node property for EPContext node, and don't allow relative path like "../file_path"

@HectorSVC HectorSVC marked this pull request as ready for review January 17, 2024 02:44
@HectorSVC HectorSVC merged commit dadd3ea into main Jan 18, 2024
@HectorSVC HectorSVC deleted the qnn_ctx_relative_path_check branch January 18, 2024 19:11
YUNQIUGUO pushed a commit that referenced this pull request Jan 23, 2024
…ry (#19174)

### Description
Check the ep_cache_context node property for EPContext node, and don't
allow relative path like "../file_path"
@snnn
Copy link
Contributor

snnn commented Sep 5, 2025

This PR has been cherry-picked into the rel-1.17.0 branch in PR #19243. Removing the release:1.17.0 label.

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.

4 participants