From 2b0837fa93bfd7ebea12634870cf04f57980a589 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 13 Jan 2024 02:16:47 +0100 Subject: [PATCH] VpkLib: allow directory recursion This is offline tools code, no security risks here. --- r5dev/vpklib/packedstore.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/r5dev/vpklib/packedstore.cpp b/r5dev/vpklib/packedstore.cpp index b6f79b13..3b0b32c5 100644 --- a/r5dev/vpklib/packedstore.cpp +++ b/r5dev/vpklib/packedstore.cpp @@ -120,8 +120,9 @@ static bool ShouldPrune(const CUtlString& filePath, CUtlVector& igno { const char* pFilePath = filePath.Get(); - if (!V_IsValidPath(pFilePath)) + if (!VALID_CHARSTAR(pFilePath)) { + Warning(eDLL_T::FS, "File in build manifest has no name\n", pFilePath); return true; }