mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-11 15:54:59 +03:00
1cde521d75
Hardened upgrade extraction by validating each zip entry resolves under the app startup directory before writing files, and aborting with a clear failure message on suspicious paths. Added shared path utilities for directory containment checks and OS-aware path string comparison, then reused them for executable matching and `bin` prefix checks during extraction. https://github.com/2dust/v2rayN/issues/10313