From 9793cdaa368d2a38ab8be986aaa80908a5d216fe 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. --- src/vpklib/packedstore.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vpklib/packedstore.cpp b/src/vpklib/packedstore.cpp index b6f79b13..3b0b32c5 100644 --- a/src/vpklib/packedstore.cpp +++ b/src/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; }