From 24666c0482f23b366ea752d2eb988c41ea07657f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 25 Nov 2026 08:07:59 +0300 Subject: [PATCH] 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 --- Cargo.toml | 3 --- crates/ec-va/Cargo.toml | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3d0d37f9..218d0de9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,6 +57,3 @@ opt-level = 3 [profile.dev] debug = "line-tables-only" - -[patch."https://github.com/chromeos/cros-libva"] -cros-libva = { path = "shims/cros-libva" } diff --git a/crates/ec-va/Cargo.toml b/crates/ec-va/Cargo.toml index 233674df..b4861522 100644 --- a/crates/ec-va/Cargo.toml +++ b/crates/ec-va/Cargo.toml @@ -6,7 +6,7 @@ edition.workspace = true license.workspace = true authors.workspace = true -# The libva FFI lives in cros-libva (BSD-3, ChromeOS). It is pinned to a git -# revision: the crates.io release does not build against libva 1.23. +# The libva FFI lives in cros-libva (BSD-3, ChromeOS), vendored from git rev +# 59384456 with Buffer owning its params (VPP region use-after-free fix). [dependencies] -cros-libva = { git = "https://github.com/chromeos/cros-libva", rev = "59384456ac2ae78c0c3e5515f41ef1efd9b802cf" } +cros-libva = { path = "../../shims/cros-libva" }