From 428d26cc83950ebb5e9843fa6f07b52175da29d8 Mon Sep 17 00:00:00 2001 From: "Daniel Szoke (via Pi Coding Agent)" Date: Tue, 13 Oct 2026 16:59:08 +0200 Subject: [PATCH] fix(native): Bound recursion when resolving variable type names Increment the depth for pointer traversal so the existing guard bounds type-name resolution. Closes #2094 Closes [SYMBOLI-79](https://linear.app/getsentry/issue/SYMBOLI-79) --- crates/symbolicator-native/src/symbolication/native.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/symbolicator-native/src/symbolication/native.rs b/crates/symbolicator-native/src/symbolication/native.rs index 901b1b0d8..d180dabb0 100644 --- a/crates/symbolicator-native/src/symbolication/native.rs +++ b/crates/symbolicator-native/src/symbolication/native.rs @@ -297,7 +297,7 @@ fn resolve_type_name( Type::Pointer(pointer) if pointer.pointee().is_none() => result.push_str("void*"), Type::Pointer(pointer) => { let ty = pointer.pointee().and_then(|p| cache.lookup_type(p)); - resolve_type_name(result, cache, ty, depth); + resolve_type_name(result, cache, ty, depth + 1); result.push('*'); } _ => result.push_str(""),