ref: 65d4aa8f513755fbad78eb9ea5b041d6e4c11268
parent: f1d328b5c1302c90b4bbc6654cbb666df8ad784a
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Jan 20 21:58:06 EST 2025
BSP_LoadVisibility: make sure things fit into the array
--- a/model_bsp.c
+++ b/model_bsp.c
@@ -322,7 +322,7 @@
int
BSP_LoadVisibility(model_t *mod, byte *in, int sz)
{
- char s[128+1], *t;
+ char s[128+4+1], *t;
byte *vis, *leaf;
int filesz, combined, vissz, leafsz;