From 4620512850bbd9bd9fe56979f21898003e661c6e Mon Sep 17 00:00:00 2001 From: Dylan Taylor Date: Fri, 23 Oct 2026 22:53:26 -0400 Subject: [PATCH] Keep XObject decodability check without binding content in interp --- crates/redact/src/interp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/redact/src/interp.rs b/crates/redact/src/interp.rs index 9be4da500..5ac6c24ea 100644 --- a/crates/redact/src/interp.rs +++ b/crates/redact/src/interp.rs @@ -443,7 +443,7 @@ fn content_draws(doc: &Document, content: &[Vec], xo: &Dict, name: &[u8], de if depth >= MAX_DEPTH { return None; } - let Ok(data) = s.decoded() else { return None }; + let Ok(_data) = s.decoded() else { return None }; match content_draws(doc, content, xo, name, depth + 1, seen) { Some(false) => {} other => return other,