From f0419eb1830be88936358ed3847e59381de23638 Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 13 Jul 2026 17:16:10 -0400 Subject: [PATCH] More guards against invalid object file patch data --- src/link/patch.cpp | 55 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 39 insertions(+), 16 deletions(-) diff --git a/src/link/patch.cpp b/src/link/patch.cpp index d7befd52..5c89e7fd 100644 --- a/src/link/patch.cpp +++ b/src/link/patch.cpp @@ -291,7 +291,16 @@ static int32_t computeRPNExpr(Patch const &patch, std::vector const &fil isError = true; value = 1; } else if (std::holds_alternative