forge
Explore
Log in

Don't you dare go Hollow

ec-va: depend on the vendored cros-libva by path instead of a workspace [patch], so path and git consumers get the VPP use-after-free fix without patching

Browse files at this commit

24666c0482f23b366ea752d2eb988c41ea07657fAhmet Kaan GümüşParent: b63bf80
Cargo.tomlmodified+0 -3
@@ -57,6 +57,3 @@ opt-level = 3
5757
5858 [profile.dev]
5959 debug = "line-tables-only"
60-
61-[patch."https://github.com/chromeos/cros-libva"]
62-cros-libva = { path = "shims/cros-libva" }
crates/ec-va/Cargo.tomlmodified+3 -3
@@ -6,7 +6,7 @@ edition.workspace = true
66 license.workspace = true
77 authors.workspace = true
88
9-# The libva FFI lives in cros-libva (BSD-3, ChromeOS). It is pinned to a git
10-# revision: the crates.io release does not build against libva 1.23.
9+# The libva FFI lives in cros-libva (BSD-3, ChromeOS), vendored from git rev
10+# 59384456 with Buffer owning its params (VPP region use-after-free fix).
1111 [dependencies]
12-cros-libva = { git = "https://github.com/chromeos/cros-libva", rev = "59384456ac2ae78c0c3e5515f41ef1efd9b802cf" }
12+cros-libva = { path = "../../shims/cros-libva" }