# Garry's Mod January 2024 Patch 2 - Product: Garry's Mod (https://whatsnew.fyi/product/garry-s-mod) - Vendor: Facepunch Studios - Date: 2024-01-19 - Original notes: https://store.steampowered.com/news/app/4000/view/3978434439896526699 - Permalink: https://whatsnew.fyi/product/garry-s-mod/releases/2024-01-19-january-2024-patch-2 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **security** — Made Entity.PhysicsInitMultiConvex throw type errors when given invalid input - **removed** — Removed unused DLLs from game's folder - bugreporter.dll, sixense.dll, headtrack_oculus.dll - **fixed** — Shutdown HTML after VGUI to fix a rare crash on game exit - **changed** — Made the BSP whitelist case insensitive - **security** — Blocked access to .db files via the file library - **added** — Made GM:OnLuaError available on client and server - **fixed** — Made LuaMesh.BuildFromTriangles correctly modify the mesh when used on an already generated mesh with matching vertex count - **security** — Added safeguards against malformed .gma files - **security** — Added overflow/underflow safeguards to render.Push/PopRenderTarget functions - **security** — Fixed several security issues reported on HackerOne - **fixed** — Fixed crash with npc_satchel - **fixed** — Fixed crash when trying to push a NULL ITexture - **fixed** — Fixed crash when failing to create a fish entity - **fixed** — Fixed crash when failing to create child entities for point_spotlight - **fixed** — Fixed crashes when failing to create entities for fire entity - **fixed** — Fixed Gravity Gun leaking material reference count - **fixed** — Fixed crashes with deleting ai_network entity - **changed** — Bumped insane reference count threshold 10x - **fixed** — Fixed crashes with NPC nodes after cleaning up the map Hello everyone, We are releasing a small patch today with some security fixes. Servers and clients are recommended to update as soon as possible. The changelog is as follows: - Made Entity.PhysicsInitMultiConvex throw type errors when given invalid input - Removed unused DLLs from game's folder - bugreporter.dll, sixense.dll, headtrack_oculus.dll - Shutdown HTML after VGUI - hopefully fixes a rare crash on game exit - Made the BSP whitelist case insensitive - Blocked access to .db files via the file library - Made GM:OnLuaError available on client and server - Made LuaMesh.BuildFromTriangles correctly modify the mesh when used on an already generated mesh - This is now only permitted when the vertex count matches between existing mesh, and the new mesh. - Added safeguards against malformed .gma files - Added overflow/underflow safeguards to render.Push/PopRenderTarget functions - Fixed several security issues reported on HackerOne January 22 Update: - Fixed crash with npc_satchel - Fixed crash when try to push a NULL ITexture - Fixed a crash when failing to create a fish entity - Fixed a crash when failing to create child ents for point_spotlight - Fixed crashes when failing to create entities for fire entity - Fixed Gravity Gun leaking material reference count - Fixed crashes with deleting ai_network entity - Bumped "insane reference count" threshold 10x January 23 Update: - Fixed crashes with NPC nodes after cleaning up the map