You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(#172): prevent OUT_DIR escape for '..' file paths
Restore ParentDir check lost in #931 refactoring.
Paths with '..' now hashed to stay within OUT_DIR.
- src/command_helpers: re-add Component::ParentDir check
- tests: 3 new regression tests
- CHANGELOG: document fix
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Fixed
11
+
12
+
- Re-implement fix for parent directory file paths to prevent OUT_DIR escapes ([#172](https://github.com/rust-lang/cc-rs/issues/172))
13
+
- Object files from source files with `..` path components are now correctly placed within OUT_DIR
14
+
- This fix was originally implemented in [#786](https://github.com/rust-lang/cc-rs/pull/786) but was accidentally removed during refactoring in [#931](https://github.com/rust-lang/cc-rs/pull/931)
15
+
- Added comprehensive regression tests to prevent future regressions
0 commit comments